Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.537/1.537, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001123/0.001123, allocations: 172.9 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007813/0.0007813, allocations: 94.53 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.722e-05/1.725e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5618/0.5619, allocations: 116.3 MB / 0.9732 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.7293, allocations: 140.2 MB / 1.11 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.7296, allocations: 79.95 kB / 1.11 GB, free: 9.871 MB / 0.7136 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 FrontEnd - DAE generated: time 0.00889/0.7385, allocations: 2.956 MB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7385, allocations: 5.469 kB / 1.113 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.7385, allocations: 0 / 1.113 GB, free: 6.934 MB / 0.7136 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.0005019/0.739, allocations: 409.3 kB / 1.114 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.7391, allocations: 12.03 kB / 1.114 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.7391, allocations: 14.84 kB / 1.114 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.7392, allocations: 177 kB / 1.114 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.7393, allocations: 0 / 1.114 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.7393, allocations: 4 kB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.63e-05/0.7394, allocations: 20 kB / 1.114 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.974e-05/0.7395, allocations: 53.67 kB / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.7395, allocations: 0 / 1.114 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.7395, allocations: 4 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.7395, allocations: 1.281 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.7401, allocations: 295.2 kB / 1.114 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.149e-05/0.7402, allocations: 43.31 kB / 1.114 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.7403, allocations: 22.17 kB / 1.114 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.7403, allocations: 3.562 kB / 1.114 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.7404, allocations: 77.92 kB / 1.114 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.634e-06/0.7404, allocations: 0 / 1.114 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002455/0.7407, allocations: 93.61 kB / 1.114 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.7407, allocations: 55.41 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.7408, allocations: 115.5 kB / 1.115 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.7408, allocations: 29.64 kB / 1.115 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.7409, allocations: 93.27 kB / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.7409, allocations: 11.75 kB / 1.115 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.7409, allocations: 0.5312 kB / 1.115 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7411, allocations: 328.2 kB / 1.115 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.783e-05/0.7411, allocations: 16 kB / 1.115 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.589e-05/0.7412, allocations: 43.5 kB / 1.115 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.28e-05/0.7412, allocations: 25.94 kB / 1.115 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.7412, allocations: 4 kB / 1.115 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000157/0.7414, allocations: 85.53 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.7414, allocations: 4 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7414, allocations: 0 / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7415, allocations: 4 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/0.7416, allocations: 11.98 kB / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.7416, allocations: 0 / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.7416, allocations: 15.98 kB / 1.115 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.7417, allocations: 4 kB / 1.115 GB, free: 4.707 MB / 0.7136 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 () * 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 7.713e-05/0.7417, allocations: 112.9 kB / 1.115 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.7418, allocations: 7.906 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.7418, allocations: 4.625 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.7418, allocations: 0 / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7418, allocations: 0 / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7418, allocations: 4 kB / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.7422, allocations: 347 kB / 1.116 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7422, allocations: 0 / 1.116 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.7422, allocations: 4 kB / 1.116 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7422, allocations: 0 / 1.116 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.7422, allocations: 3.984 kB / 1.116 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7423, allocations: 4 kB / 1.116 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.7423, allocations: 0 / 1.116 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.7425, allocations: 197.9 kB / 1.116 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.7425, allocations: 81.05 kB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.7425, allocations: 1.781 kB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.7426, allocations: 7.984 kB / 1.116 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.7427, allocations: 4 kB / 1.116 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.7427, allocations: 7.984 kB / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.661e-05/0.7428, allocations: 89.58 kB / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.783e-06/0.7428, allocations: 0 / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002801/0.7431, allocations: 51.86 kB / 1.116 GB, free: 3.723 MB / 0.7136 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 () * 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.0003489/0.7434, allocations: 172.9 kB / 1.116 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.7436, allocations: 59.91 kB / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7436, allocations: 0 / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.133e-05/0.7437, allocations: 24 kB / 1.116 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.7438, allocations: 14.14 kB / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.7441, allocations: 100.2 kB / 1.116 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.7444, allocations: 0.6931 MB / 1.117 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.142e-05/0.7444, allocations: 8.078 kB / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.7445, allocations: 11.44 kB / 1.117 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7445, allocations: 0 / 1.117 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of Templates: time 0.003653/0.7481, allocations: 1.493 MB / 1.119 GB, free: 1.156 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)