Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 115.8 kB / 16.38 MB, free: 6.016 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.001837/0.001837, allocations: 189.1 kB / 17.31 MB, free: 5.617 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.298/1.298, 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.752/1.752, 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.001472/0.001472, allocations: 71.89 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1935, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002485/0.196, allocations: 1.508 MB / 0.7863 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1973, allocations: 0.7682 MB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.1973, allocations: 0 / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.1974, allocations: 3.938 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.1974, allocations: 19.84 kB / 0.787 GB, free: 0.8633 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.0005264/0.198, allocations: 115.6 kB / 0.7872 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.1981, allocations: 79.77 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.613e-05/0.1982, allocations: 8 kB / 0.7872 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.03e-05/0.1983, allocations: 39.89 kB / 0.7873 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.862e-05/0.1983, allocations: 35.84 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1984, allocations: 7.938 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.1985, allocations: 99.84 kB / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.1986, allocations: 19.97 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.1986, allocations: 27.86 kB / 0.7875 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1988, allocations: 151.5 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1989, allocations: 0 / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1989, allocations: 0 / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1989, allocations: 0 / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.3389/0.5377, allocations: 413.6 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.5378, allocations: 10.67 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.5379, allocations: 7.375 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.174e-05/0.538, allocations: 174.8 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.538, allocations: 4.969 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.538, allocations: 6.875 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.5382, allocations: 69.33 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.5382, allocations: 1 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.5382, allocations: 6.938 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.5382, allocations: 3.656 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.5384, allocations: 37.91 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.5389, allocations: 314.7 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.539, allocations: 50.66 kB / 0.7887 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.5391, allocations: 34.84 kB / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.5392, allocations: 1.938 kB / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.5393, allocations: 77.77 kB / 0.7888 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.5393, allocations: 0.5938 kB / 0.7888 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003485/0.5397, allocations: 136.4 kB / 0.7889 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.5397, allocations: 62.22 kB / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.5398, allocations: 130.6 kB / 0.7891 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.5398, allocations: 28.33 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.5398, allocations: 90 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.5399, allocations: 16.17 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.5399, allocations: 24.95 kB / 0.7892 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.54, allocations: 322.8 kB / 0.7895 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-05/0.54, allocations: 26.47 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.2e-05/0.5401, allocations: 45.16 kB / 0.7896 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.5403, allocations: 79.28 kB / 0.7897 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5403, allocations: 0 / 0.7897 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002073/0.5405, allocations: 115.9 kB / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.5405, allocations: 5.75 kB / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.5405, allocations: 0 / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.5406, allocations: 2.688 kB / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.5406, allocations: 18.89 kB / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.5407, allocations: 3.219 kB / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.5407, allocations: 9.125 kB / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.5408, allocations: 3.188 kB / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 5.921e-05/0.5408, allocations: 125.9 kB / 0.79 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.5408, allocations: 10.28 kB / 0.79 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.5409, allocations: 7.375 kB / 0.79 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5409, allocations: 2.625 kB / 0.79 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.5409, allocations: 0 / 0.79 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.5409, allocations: 83.08 kB / 0.7901 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.5409, allocations: 8.922 kB / 0.7901 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.646e-05/0.541, allocations: 7.422 kB / 0.7901 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.541, allocations: 9.562 kB / 0.7901 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002407/0.5413, allocations: 190.9 kB / 0.7903 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002302/0.5415, allocations: 280.5 kB / 0.7905 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.016e-05/0.5416, allocations: 33.36 kB / 0.7906 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.5417, allocations: 94.11 kB / 0.7906 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of Backend: time 3e-07/0.5417, allocations: 1.281 kB / 0.7907 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006319/0.5423, allocations: 183.7 kB / 0.7908 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003542/0.5427, allocations: 0.616 MB / 0.7914 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.003615/0.5463, allocations: 1.489 MB / 0.7929 GB, free: 46.06 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)