Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.001164/0.001164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009783/0.0009782, allocations: 189.9 kB / 16.25 MB, free: 6.625 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.237/1.237, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.56/1.56, allocations: 292.3 MB / 0.5486 GB, free: 13.65 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.001269/0.001269, allocations: 75.92 kB / 0.6711 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1639, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002515/0.1665, allocations: 1.693 MB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1676, allocations: 0.8229 MB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.615e-05/0.1677, allocations: 0 / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.1677, allocations: 3.938 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.1678, allocations: 23.78 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.1683, allocations: 131.7 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.1685, allocations: 155.5 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.674e-05/0.1686, allocations: 29.31 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.934e-05/0.1687, allocations: 63.84 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/0.1688, allocations: 79.7 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.1688, allocations: 19.94 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.169, allocations: 99.84 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.06e-05/0.169, allocations: 31.91 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.1691, allocations: 63.75 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.1693, allocations: 211.4 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1693, allocations: 0 / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.093e-06/0.1693, allocations: 0 / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.1693, allocations: 0 / 0.7863 GB, free: 10.38 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000674/0.17, allocations: 0.5368 MB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1701, allocations: 12.03 kB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.1701, allocations: 34.75 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.1702, allocations: 16.73 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1703, allocations: 183 kB / 0.7871 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1703, allocations: 8.375 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1703, allocations: 4.375 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.1707, allocations: 145.7 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1707, allocations: 0 / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1708, allocations: 0 / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1708, allocations: 4 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000363/0.1711, allocations: 103.8 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006786/0.1718, allocations: 392.4 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.1721, allocations: 98.5 kB / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.1724, allocations: 88.78 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1725, allocations: 0 / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000371/0.1728, allocations: 143.2 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.1728, allocations: 0 / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0009706/0.1738, allocations: 309.2 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.1739, allocations: 51.78 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.174, allocations: 146.5 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.174, allocations: 37.7 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.1741, allocations: 100.4 kB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.1741, allocations: 27.59 kB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.1741, allocations: 29.7 kB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.1742, allocations: 326.8 kB / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.1744, allocations: 39.97 kB / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1745, allocations: 84.5 kB / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.1747, allocations: 129 kB / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1748, allocations: 4 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003204/0.1751, allocations: 153.3 kB / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1751, allocations: 8 kB / 0.7894 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1751, allocations: 128 / 0.7894 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1751, allocations: 4 kB / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1753, allocations: 27.97 kB / 0.7894 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1753, allocations: 4 kB / 0.7894 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.1754, allocations: 7.984 kB / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.1754, allocations: 7.938 kB / 0.7894 GB, free: 6.879 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.647e-05/0.1755, allocations: 125.8 kB / 0.7896 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1755, allocations: 7.906 kB / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.1756, allocations: 20.81 kB / 0.7896 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1756, allocations: 3.938 kB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1756, allocations: 0 / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.1756, allocations: 0 / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008757/0.1765, allocations: 0.5334 MB / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1765, allocations: 0 / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.914e-05/0.1766, allocations: 19.98 kB / 0.7901 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1766, allocations: 0 / 0.7901 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1766, allocations: 0 / 0.7901 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1766, allocations: 3.938 kB / 0.7901 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.1766, allocations: 3.938 kB / 0.7901 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.1773, allocations: 327.4 kB / 0.7904 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.1773, allocations: 89.11 kB / 0.7905 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.1774, allocations: 7.922 kB / 0.7905 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.1776, allocations: 27.84 kB / 0.7906 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.1776, allocations: 8 kB / 0.7906 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1777, allocations: 7.984 kB / 0.7906 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.1777, allocations: 109.7 kB / 0.7907 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1777, allocations: 0 / 0.7907 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002856/0.178, allocations: 47.91 kB / 0.7907 GB, free: 5.445 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001091/0.1791, allocations: 0.9229 MB / 0.7916 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00047/0.1796, allocations: 151.8 kB / 0.7918 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1796, allocations: 0 / 0.7918 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.1799, allocations: 87.92 kB / 0.7919 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1801, allocations: 12.19 kB / 0.7919 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.1821, allocations: 1.797 MB / 0.7936 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.1824, allocations: 0.7002 MB / 0.7943 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.764e-05/0.1824, allocations: 15.77 kB / 0.7943 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.1825, allocations: 31.42 kB / 0.7944 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.1825, allocations: 0 / 0.7944 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.061/1.243, allocations: 3.272 MB / 0.7976 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/1.243, allocations: 267.4 kB / 0.7978 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/3.009, allocations: 3.094 kB / 0.7978 GB, free: 14.13 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)