Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008343/0.0008343, allocations: 90.67 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004854/0.004854, allocations: 174.6 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.584/1.584, allocations: 292.7 MB / 0.5502 GB, free: 14.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004652, allocations: 14.16 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1788, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001356/0.1802, allocations: 1.196 MB / 0.7892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005764/0.1808, allocations: 471.8 kB / 0.7896 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.1808, allocations: 0 / 0.7896 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.1808, allocations: 7.875 kB / 0.7896 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.296e-05/0.1809, allocations: 11.94 kB / 0.7896 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.181, allocations: 23.97 kB / 0.7897 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.433e-05/0.1811, allocations: 51.78 kB / 0.7897 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.189e-05/0.1812, allocations: 8 kB / 0.7897 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/0.1813, allocations: 19.92 kB / 0.7897 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.1813, allocations: 19.91 kB / 0.7897 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1814, allocations: 0 / 0.7897 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.1814, allocations: 8 kB / 0.7898 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.1814, allocations: 15.86 kB / 0.7898 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.1815, allocations: 45.58 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.922e-05/0.1815, allocations: 40.09 kB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1815, allocations: 0 / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1815, allocations: 0 / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.1816, allocations: 0 / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003945/0.182, allocations: 406.8 kB / 0.7902 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.182, allocations: 12.03 kB / 0.7903 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.182, allocations: 38.73 kB / 0.7903 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.1821, allocations: 4.938 kB / 0.7903 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.357e-05/0.1822, allocations: 172.3 kB / 0.7905 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1822, allocations: 384 / 0.7905 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.1822, allocations: 8.359 kB / 0.7905 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1823, allocations: 65.8 kB / 0.7905 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.1824, allocations: 3.938 kB / 0.7905 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1824, allocations: 4 kB / 0.7905 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1824, allocations: 0 / 0.7905 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.1825, allocations: 43.97 kB / 0.7906 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.1829, allocations: 288.8 kB / 0.7909 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.183, allocations: 38.56 kB / 0.7909 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.1831, allocations: 36.92 kB / 0.7909 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.1831, allocations: 7.938 kB / 0.7909 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.1833, allocations: 71.39 kB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1833, allocations: 3.938 kB / 0.791 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.000321/0.1836, allocations: 125.5 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.1836, allocations: 55.41 kB / 0.7912 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.445e-05/0.1837, allocations: 117.7 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1837, allocations: 29.7 kB / 0.7913 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.1838, allocations: 92.12 kB / 0.7914 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.1838, allocations: 11.81 kB / 0.7914 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.1838, allocations: 17.72 kB / 0.7914 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.1839, allocations: 318.8 kB / 0.7917 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.184, allocations: 19.98 kB / 0.7918 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.1841, allocations: 52.28 kB / 0.7918 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.1842, allocations: 80.22 kB / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1842, allocations: 0 / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001788/0.1844, allocations: 101.4 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.1844, allocations: 4 kB / 0.792 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.1844, allocations: 4 kB / 0.792 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.1844, allocations: 4.156 kB / 0.792 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.1845, allocations: 8 kB / 0.792 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1845, allocations: 4 kB / 0.792 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.1846, allocations: 7.984 kB / 0.792 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.1846, allocations: 4 kB / 0.792 GB, free: 7.031 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.361e-05/0.1847, allocations: 126.3 kB / 0.7921 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.1847, allocations: 0 / 0.7921 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.1847, allocations: 12.22 kB / 0.7921 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1847, allocations: 4 kB / 0.7922 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1847, allocations: 4 kB / 0.7922 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1847, allocations: 3.984 kB / 0.7922 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.1851, allocations: 358.4 kB / 0.7925 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1851, allocations: 4 kB / 0.7925 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.1852, allocations: 7.938 kB / 0.7925 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1852, allocations: 0 / 0.7925 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.1852, allocations: 0 / 0.7925 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.1852, allocations: 3.938 kB / 0.7925 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1852, allocations: 0 / 0.7925 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.1854, allocations: 195.9 kB / 0.7927 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.1855, allocations: 88.94 kB / 0.7928 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1855, allocations: 4 kB / 0.7928 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.1856, allocations: 7.938 kB / 0.7928 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.1856, allocations: 11.92 kB / 0.7928 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.1856, allocations: 4 kB / 0.7928 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.386e-05/0.1857, allocations: 95.27 kB / 0.7929 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1857, allocations: 0 / 0.7929 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002128/0.1859, allocations: 8 kB / 0.7929 GB, free: 6.008 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004454/0.1863, allocations: 0.728 MB / 0.7936 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.1865, allocations: 59.91 kB / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1865, allocations: 4.312 kB / 0.7937 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/0.1866, allocations: 35.97 kB / 0.7937 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.1869, allocations: 7.938 kB / 0.7937 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.1881, allocations: 1.426 MB / 0.7951 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.1883, allocations: 0.6848 MB / 0.7958 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.511e-05/0.1883, allocations: 3.984 kB / 0.7958 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.1883, allocations: 27.42 kB / 0.7958 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1884, allocations: 0 / 0.7958 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9445/1.133, allocations: 1.365 MB / 0.7972 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004427/1.133, allocations: 229.3 kB / 0.7974 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.871, allocations: 0 / 0.7974 GB, free: 1.445 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1)