Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.769/1.769, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 184.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008098/0.0008099, allocations: 95.48 kB / 0.7808 GB, free: 43.73 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004118, allocations: 12 kB / 0.9088 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7175/0.718, allocations: 120.3 MB / 1.026 GB, free: 57 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2074/0.9254, allocations: 143.2 MB / 1.166 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/0.9258, allocations: 84.5 kB / 1.166 GB, free: 14.91 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.009577/0.9354, allocations: 3.036 MB / 1.169 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.619e-06/0.9355, allocations: 0 / 1.169 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.9355, allocations: 4.719 kB / 1.169 GB, free: 11.92 MB / 0.7448 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.0006966/0.9362, allocations: 421 kB / 1.17 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.9363, allocations: 8.031 kB / 1.17 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.9363, allocations: 8.844 kB / 1.17 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.9365, allocations: 176.2 kB / 1.17 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.9366, allocations: 4.375 kB / 1.17 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.9366, allocations: 4.375 kB / 1.17 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.9368, allocations: 74.22 kB / 1.17 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.9368, allocations: 4.125 kB / 1.17 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.9369, allocations: 7.938 kB / 1.17 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.9369, allocations: 0 / 1.17 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.937, allocations: 43.97 kB / 1.17 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.9378, allocations: 309.7 kB / 1.17 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.9379, allocations: 58.48 kB / 1.17 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.938, allocations: 36.97 kB / 1.17 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.9381, allocations: 7.938 kB / 1.17 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.9383, allocations: 79.44 kB / 1.17 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.9383, allocations: 0 / 1.17 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004207/0.9387, allocations: 145.6 kB / 1.171 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.9388, allocations: 55.34 kB / 1.171 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.9389, allocations: 129.7 kB / 1.171 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.9389, allocations: 29.7 kB / 1.171 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.939, allocations: 92.08 kB / 1.171 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.939, allocations: 19.8 kB / 1.171 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.939, allocations: 0 / 1.171 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.9392, allocations: 318.8 kB / 1.171 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/0.9393, allocations: 31.98 kB / 1.171 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.9394, allocations: 51.31 kB / 1.171 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.9396, allocations: 82.53 kB / 1.171 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.9396, allocations: 3.938 kB / 1.171 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003077/0.9399, allocations: 113.5 kB / 1.171 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.94, allocations: 7.984 kB / 1.171 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.94, allocations: 4.062 kB / 1.171 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.94, allocations: 4 kB / 1.171 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.9401, allocations: 8 kB / 1.171 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.9401, allocations: 400 / 1.171 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.9402, allocations: 17.3 kB / 1.171 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.9402, allocations: 4 kB / 1.171 GB, free: 9.363 MB / 0.7448 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.0001262/0.9404, allocations: 124.6 kB / 1.172 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.9404, allocations: 11.91 kB / 1.172 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.9404, allocations: 16.3 kB / 1.172 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.9404, allocations: 0 / 1.172 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.9404, allocations: 0 / 1.172 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.9405, allocations: 0 / 1.172 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.941, allocations: 386.5 kB / 1.172 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.941, allocations: 4 kB / 1.172 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.941, allocations: 4 kB / 1.172 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.9411, allocations: 0 / 1.172 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.9411, allocations: 11.92 kB / 1.172 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.9411, allocations: 4 kB / 1.172 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9411, allocations: 3.938 kB / 1.172 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.9414, allocations: 212.7 kB / 1.172 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.9415, allocations: 85.02 kB / 1.172 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.9415, allocations: 4 kB / 1.172 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.9416, allocations: 11.98 kB / 1.172 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.9416, allocations: 11.92 kB / 1.172 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.9417, allocations: 0 / 1.172 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.35e-05/0.9417, allocations: 97.23 kB / 1.172 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9417, allocations: 0 / 1.172 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000355/0.9421, allocations: 48 kB / 1.172 GB, free: 8.254 MB / 0.7448 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.0004392/0.9425, allocations: 169.2 kB / 1.173 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.9428, allocations: 75.95 kB / 1.173 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9428, allocations: 4 kB / 1.173 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.592e-05/0.9429, allocations: 39.91 kB / 1.173 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.9432, allocations: 12.73 kB / 1.173 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.9437, allocations: 201.7 kB / 1.173 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.944, allocations: 0.6848 MB / 1.174 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.336e-05/0.944, allocations: 7.984 kB / 1.174 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.9441, allocations: 11.44 kB / 1.174 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.9441, allocations: 0 / 1.174 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of Templates: time 0.004455/0.9485, allocations: 1.517 MB / 1.175 GB, free: 5.523 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)