Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 115.2 kB / 16.38 MB, free: 5.992 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.001004/0.001004, allocations: 185.6 kB / 17.31 MB, free: 5.609 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.282/1.282, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.772/1.772, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001428/0.001428, allocations: 64.12 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1773, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.00259/0.1799, allocations: 1.589 MB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1812, allocations: 0.8227 MB / 0.7872 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.1813, allocations: 0 / 0.7872 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.1813, allocations: 3.938 kB / 0.7872 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.293e-05/0.1814, allocations: 31.66 kB / 0.7872 GB, free: 0.7344 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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.0005528/0.1819, allocations: 147.6 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1821, allocations: 131.7 kB / 0.7875 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.623e-05/0.1822, allocations: 15.98 kB / 0.7875 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1823, allocations: 59.83 kB / 0.7875 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1824, allocations: 79.72 kB / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.1825, allocations: 12 kB / 0.7876 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.1826, allocations: 103.8 kB / 0.7877 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.1827, allocations: 27.91 kB / 0.7877 GB, free: 172 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.1828, allocations: 59.7 kB / 0.7878 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3097/0.4925, allocations: 188.3 kB / 0.788 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4925, allocations: 0 / 0.788 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4925, allocations: 0 / 0.788 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4925, allocations: 3.094 kB / 0.788 GB, free: 46.79 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006739/0.4932, allocations: 483 kB / 0.7884 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4933, allocations: 10.41 kB / 0.7884 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.4933, allocations: 10.09 kB / 0.7885 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.871e-05/0.4934, allocations: 184.2 kB / 0.7886 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.4934, allocations: 6.562 kB / 0.7886 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.4935, allocations: 5.625 kB / 0.7886 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.4937, allocations: 105.2 kB / 0.7887 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.4937, allocations: 2.125 kB / 0.7887 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.4937, allocations: 0 / 0.7887 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.4938, allocations: 3.375 kB / 0.7888 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.4939, allocations: 65.05 kB / 0.7888 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/0.4947, allocations: 369 kB / 0.7892 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.4949, allocations: 72.53 kB / 0.7892 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.495, allocations: 51.48 kB / 0.7893 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.495, allocations: 3.703 kB / 0.7893 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.4952, allocations: 104.9 kB / 0.7894 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.4952, allocations: 0.5938 kB / 0.7894 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005409/0.4958, allocations: 217 kB / 0.7896 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/0.4958, allocations: 60.55 kB / 0.7897 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.172e-05/0.4959, allocations: 148.3 kB / 0.7898 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.4959, allocations: 28.27 kB / 0.7898 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.496, allocations: 104.2 kB / 0.7899 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.496, allocations: 16.09 kB / 0.7899 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.496, allocations: 37.08 kB / 0.79 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.249e-05/0.4961, allocations: 321.9 kB / 0.7903 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.4962, allocations: 39.22 kB / 0.7903 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.4963, allocations: 79.19 kB / 0.7904 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.4965, allocations: 110.7 kB / 0.7905 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4966, allocations: 0 / 0.7905 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003073/0.4969, allocations: 160.2 kB / 0.7906 GB, free: 45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4969, allocations: 6.625 kB / 0.7907 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4969, allocations: 2.906 kB / 0.7907 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4969, allocations: 0 / 0.7907 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.4971, allocations: 24.09 kB / 0.7907 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4971, allocations: 7.594 kB / 0.7907 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.4972, allocations: 19.83 kB / 0.7907 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.4972, allocations: 2.938 kB / 0.7907 GB, free: 44.99 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.7e-05/0.4973, allocations: 121.7 kB / 0.7908 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.4973, allocations: 9.719 kB / 0.7908 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.4973, allocations: 14.73 kB / 0.7908 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4974, allocations: 1.031 kB / 0.7909 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4974, allocations: 0.5 kB / 0.7909 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.4974, allocations: 91.8 kB / 0.7909 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.4974, allocations: 2.172 kB / 0.7909 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.4975, allocations: 15.78 kB / 0.791 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.4976, allocations: 10.08 kB / 0.791 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003887/0.498, allocations: 247.9 kB / 0.7912 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003565/0.4983, allocations: 344.2 kB / 0.7915 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001316/0.4985, allocations: 56.83 kB / 0.7916 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.4985, allocations: 101.5 kB / 0.7917 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of Backend: time 2.81e-07/0.4985, allocations: 0 / 0.7917 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006576/0.4992, allocations: 202.5 kB / 0.7919 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003575/0.4996, allocations: 0.6439 MB / 0.7925 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.004111/0.5037, allocations: 2.015 MB / 0.7945 GB, free: 43.62 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)