Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.608/2.608, allocations: 287.5 MB / 303.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001381/0.001381, allocations: 174 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.4 MB / 0.6305 GB, free: 10.46 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009197/0.0009195, allocations: 90.81 kB / 0.7438 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004682, allocations: 11.66 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2039, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9155/1.119, allocations: 139.9 MB / 1.116 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/1.12, allocations: 89.58 kB / 1.116 GB, free: 15.79 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 FrontEnd - DAE generated: time 0.01318/1.133, allocations: 2.998 MB / 1.119 GB, free: 31.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.455e-06/1.133, allocations: 0 / 1.119 GB, free: 31.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.278e-06/1.133, allocations: 0 / 1.119 GB, free: 31.34 MB / 0.698 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.0007063/1.134, allocations: 427.6 kB / 1.119 GB, free: 30.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.134, allocations: 11.53 kB / 1.119 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/1.134, allocations: 8.797 kB / 1.119 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/1.134, allocations: 172.8 kB / 1.119 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/1.134, allocations: 6.828 kB / 1.119 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/1.134, allocations: 4.25 kB / 1.119 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/1.134, allocations: 75.86 kB / 1.12 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.134, allocations: 192 / 1.12 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/1.134, allocations: 3.938 kB / 1.12 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/1.134, allocations: 3.938 kB / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/1.135, allocations: 41.97 kB / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/1.135, allocations: 324.3 kB / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/1.136, allocations: 50.61 kB / 1.12 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/1.136, allocations: 39.88 kB / 1.12 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/1.136, allocations: 4 kB / 1.12 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/1.136, allocations: 79.98 kB / 1.12 GB, free: 30.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/1.136, allocations: 3.812 kB / 1.12 GB, free: 30.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005697/1.137, allocations: 149.1 kB / 1.12 GB, free: 30.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/1.137, allocations: 51.41 kB / 1.12 GB, free: 30.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/1.137, allocations: 122.4 kB / 1.12 GB, free: 30.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/1.137, allocations: 25.7 kB / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/1.137, allocations: 90.52 kB / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/1.137, allocations: 17.48 kB / 1.121 GB, free: 29.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/1.137, allocations: 3.938 kB / 1.121 GB, free: 29.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.137, allocations: 320.5 kB / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/1.137, allocations: 34.95 kB / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/1.137, allocations: 49.73 kB / 1.121 GB, free: 29.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/1.138, allocations: 87.03 kB / 1.121 GB, free: 29.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.138, allocations: 0 / 1.121 GB, free: 29.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003591/1.138, allocations: 118.9 kB / 1.121 GB, free: 29.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.138, allocations: 11.59 kB / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.138, allocations: 8.062 kB / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/1.138, allocations: 0 / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/1.138, allocations: 16.66 kB / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.138, allocations: 0 / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/1.138, allocations: 7.656 kB / 1.121 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/1.138, allocations: 7.5 kB / 1.121 GB, free: 29.54 MB / 0.698 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.139, allocations: 124.6 kB / 1.121 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/1.139, allocations: 7.906 kB / 1.121 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/1.139, allocations: 11.38 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.139, allocations: 0 / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.139, allocations: 3.938 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.139, allocations: 0 / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006036/1.139, allocations: 382 kB / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.139, allocations: 0 / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.13e-05/1.139, allocations: 14.81 kB / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.139, allocations: 0 / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/1.139, allocations: 3.25 kB / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.139, allocations: 0 / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.139, allocations: 0 / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/1.14, allocations: 225.6 kB / 1.122 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/1.14, allocations: 84.95 kB / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/1.14, allocations: 3.844 kB / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/1.14, allocations: 6.688 kB / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/1.14, allocations: 7.125 kB / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/1.14, allocations: 3.875 kB / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.614e-05/1.14, allocations: 92.3 kB / 1.122 GB, free: 28.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.14, allocations: 0 / 1.122 GB, free: 28.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004501/1.141, allocations: 52.45 kB / 1.122 GB, free: 28.77 MB / 0.698 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,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004156/1.141, allocations: 181.1 kB / 1.122 GB, free: 28.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003378/1.141, allocations: 79.98 kB / 1.122 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.141, allocations: 0 / 1.122 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/1.142, allocations: 43.5 kB / 1.122 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/1.142, allocations: 7.469 kB / 1.122 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/1.142, allocations: 197.7 kB / 1.123 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/1.143, allocations: 0.6874 MB / 1.123 GB, free: 27.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.75e-05/1.143, allocations: 5.078 kB / 1.123 GB, free: 27.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/1.143, allocations: 10.81 kB / 1.123 GB, free: 27.8 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/1.143, allocations: 3.875 kB / 1.123 GB, free: 27.8 MB / 0.698 GB Notification: Performance of Templates: time 0.005247/1.148, allocations: 1.525 MB / 1.125 GB, free: 27.66 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)