Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") 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: 160 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.0009811/0.000981, allocations: 168.6 kB / 384.6 MB, free: 10.89 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.517/1.517, allocations: 223.2 MB / 0.6626 GB, free: 4.355 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.001001/0.001001, allocations: 94.48 kB / 0.7808 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004351, allocations: 12 kB / 0.9088 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7857/0.7862, allocations: 120.3 MB / 1.026 GB, free: 55.73 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.9921, allocations: 143.2 MB / 1.166 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.9923, allocations: 87.64 kB / 1.166 GB, free: 0.6211 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.009599/1.002, allocations: 3.041 MB / 1.169 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.665e-06/1.002, allocations: 1.453 kB / 1.169 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.079e-06/1.002, allocations: 0 / 1.169 GB, free: 14.45 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.0005683/1.003, allocations: 425 kB / 1.17 GB, free: 14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/1.003, allocations: 8.688 kB / 1.17 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/1.003, allocations: 9.844 kB / 1.17 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.003, allocations: 178.6 kB / 1.17 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/1.003, allocations: 4.375 kB / 1.17 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/1.003, allocations: 8.984 kB / 1.17 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/1.003, allocations: 69.64 kB / 1.17 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/1.003, allocations: 192 / 1.17 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/1.003, allocations: 3.938 kB / 1.17 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/1.003, allocations: 1.688 kB / 1.17 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/1.003, allocations: 44.88 kB / 1.17 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006728/1.004, allocations: 319.5 kB / 1.17 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/1.004, allocations: 53.52 kB / 1.17 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.409e-05/1.004, allocations: 35.3 kB / 1.17 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/1.004, allocations: 4.641 kB / 1.17 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/1.004, allocations: 82.14 kB / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/1.004, allocations: 2.844 kB / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003947/1.005, allocations: 147 kB / 1.171 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/1.005, allocations: 57.23 kB / 1.171 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/1.005, allocations: 125.7 kB / 1.171 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/1.005, allocations: 30.2 kB / 1.171 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/1.005, allocations: 90.95 kB / 1.171 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/1.005, allocations: 17.11 kB / 1.171 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/1.005, allocations: 4 kB / 1.171 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.005, allocations: 325.7 kB / 1.171 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/1.005, allocations: 26.58 kB / 1.171 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.702e-05/1.005, allocations: 50.64 kB / 1.171 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/1.006, allocations: 80.94 kB / 1.171 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.006, allocations: 0 / 1.171 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002582/1.006, allocations: 119.5 kB / 1.171 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.006, allocations: 5.562 kB / 1.171 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/1.006, allocations: 5.406 kB / 1.171 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/1.006, allocations: 0.7812 kB / 1.171 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/1.006, allocations: 16.5 kB / 1.171 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/1.006, allocations: 4.516 kB / 1.171 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/1.006, allocations: 10.33 kB / 1.171 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/1.006, allocations: 7.234 kB / 1.171 GB, free: 12.08 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.0001027/1.006, allocations: 123 kB / 1.172 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/1.006, allocations: 8.422 kB / 1.172 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/1.006, allocations: 10.11 kB / 1.172 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.006, allocations: 2.062 kB / 1.172 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.006, allocations: 4 kB / 1.172 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.006, allocations: 0.6094 kB / 1.172 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/1.007, allocations: 387.2 kB / 1.172 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.007, allocations: 2.156 kB / 1.172 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/1.007, allocations: 6.047 kB / 1.172 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/1.007, allocations: 0.6094 kB / 1.172 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/1.007, allocations: 4.703 kB / 1.172 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/1.007, allocations: 4.594 kB / 1.172 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.007, allocations: 1.125 kB / 1.172 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/1.007, allocations: 225.2 kB / 1.172 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/1.007, allocations: 81.62 kB / 1.172 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/1.007, allocations: 2.203 kB / 1.172 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/1.007, allocations: 9.266 kB / 1.172 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/1.008, allocations: 14.61 kB / 1.172 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/1.008, allocations: 5.172 kB / 1.172 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.525e-05/1.008, allocations: 91.38 kB / 1.172 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.01e-07/1.008, allocations: 0 / 1.172 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003241/1.008, allocations: 46.16 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.0003644/1.008, allocations: 176.2 kB / 1.173 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002201/1.009, allocations: 82.47 kB / 1.173 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/1.009, allocations: 0 / 1.173 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.261e-05/1.009, allocations: 33.73 kB / 1.173 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/1.009, allocations: 13.53 kB / 1.173 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/1.009, allocations: 201.8 kB / 1.173 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/1.01, allocations: 0.6875 MB / 1.174 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.507e-05/1.01, allocations: 10.3 kB / 1.174 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/1.01, allocations: 12.09 kB / 1.174 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/1.01, allocations: 0 / 1.174 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of Templates: time 0.004539/1.014, allocations: 1.505 MB / 1.175 GB, free: 9.035 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)