Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.767/1.767, allocations: 297.8 MB / 313.7 MB, free: 152 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.001129/0.001129, allocations: 180.5 kB / 384.6 MB, free: 10.88 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.473/1.473, allocations: 223.2 MB / 0.6626 GB, free: 4.336 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.0007937/0.0007937, allocations: 95.86 kB / 0.7808 GB, free: 50.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.00047, allocations: 12 kB / 0.9088 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7162/0.7167, allocations: 120.3 MB / 1.026 GB, free: 55.83 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2042/0.921, allocations: 143.2 MB / 1.166 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.9213, allocations: 87.7 kB / 1.166 GB, free: 0.6406 MB / 0.7292 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.009474/0.9308, allocations: 3.041 MB / 1.169 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9308, allocations: 0 / 1.169 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.9308, allocations: 0.9688 kB / 1.169 GB, free: 14.47 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.0005975/0.9314, allocations: 420.4 kB / 1.17 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.9315, allocations: 12.55 kB / 1.17 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.9315, allocations: 4.844 kB / 1.17 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.9317, allocations: 179.5 kB / 1.17 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.9317, allocations: 5.594 kB / 1.17 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.9318, allocations: 10.09 kB / 1.17 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.932, allocations: 68.75 kB / 1.17 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.932, allocations: 1.25 kB / 1.17 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.932, allocations: 5.578 kB / 1.17 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.932, allocations: 4.844 kB / 1.17 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.9322, allocations: 40.95 kB / 1.17 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007286/0.9329, allocations: 323.6 kB / 1.17 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.9331, allocations: 52.61 kB / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.341e-05/0.9332, allocations: 35.05 kB / 1.17 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.9332, allocations: 4 kB / 1.17 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.9334, allocations: 81.91 kB / 1.17 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.635e-06/0.9334, allocations: 0.9375 kB / 1.17 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003981/0.9338, allocations: 142.3 kB / 1.171 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.9338, allocations: 64.78 kB / 1.171 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.934, allocations: 129.3 kB / 1.171 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.934, allocations: 26.27 kB / 1.171 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.9341, allocations: 89.91 kB / 1.171 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.9341, allocations: 13.08 kB / 1.171 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.9341, allocations: 4.656 kB / 1.171 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.9342, allocations: 322.7 kB / 1.171 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.9343, allocations: 28.92 kB / 1.171 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.706e-05/0.9344, allocations: 52.86 kB / 1.171 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.9346, allocations: 80.31 kB / 1.171 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.9346, allocations: 0 / 1.171 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002412/0.9349, allocations: 123 kB / 1.171 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.9349, allocations: 4.656 kB / 1.171 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.9349, allocations: 0.5625 kB / 1.171 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.9349, allocations: 2.344 kB / 1.171 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.935, allocations: 16.27 kB / 1.171 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.935, allocations: 3.938 kB / 1.171 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.978e-05/0.9351, allocations: 5.359 kB / 1.171 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.9351, allocations: 9.438 kB / 1.171 GB, free: 12.1 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.0001008/0.9352, allocations: 125.4 kB / 1.172 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.9353, allocations: 9.156 kB / 1.172 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.9353, allocations: 16.19 kB / 1.172 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.9353, allocations: 0.9844 kB / 1.172 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.9353, allocations: 0 / 1.172 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.9353, allocations: 1.828 kB / 1.172 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.9358, allocations: 383.9 kB / 1.172 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9358, allocations: 0 / 1.172 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.9359, allocations: 10.59 kB / 1.172 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.9359, allocations: 6.047 kB / 1.172 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.9359, allocations: 0.7969 kB / 1.172 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9359, allocations: 0.6875 kB / 1.172 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9359, allocations: 1.609 kB / 1.172 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.9362, allocations: 225.8 kB / 1.172 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.9363, allocations: 89.61 kB / 1.172 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.9363, allocations: 1.922 kB / 1.172 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-05/0.9364, allocations: 6.016 kB / 1.172 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.9365, allocations: 13.91 kB / 1.172 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.9365, allocations: 5.172 kB / 1.172 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.362e-05/0.9365, allocations: 91.25 kB / 1.172 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9365, allocations: 0 / 1.172 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000305/0.9369, allocations: 54.42 kB / 1.172 GB, free: 11.05 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.0003871/0.9373, allocations: 167.1 kB / 1.173 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.9375, allocations: 79.11 kB / 1.173 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.9375, allocations: 0 / 1.173 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.853e-05/0.9376, allocations: 37.3 kB / 1.173 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.9379, allocations: 13.34 kB / 1.173 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.9383, allocations: 202.2 kB / 1.173 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.9386, allocations: 0.6874 MB / 1.174 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.14e-05/0.9386, allocations: 10.48 kB / 1.174 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.9387, allocations: 8.75 kB / 1.174 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.9387, allocations: 0 / 1.174 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of Templates: time 0.004549/0.9432, allocations: 1.503 MB / 1.175 GB, free: 9.055 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)