Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.487/1.487, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 176.1 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.2 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008184/0.0008183, allocations: 85.86 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.564e-05/1.567e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2189, allocations: 106.4 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7557/0.9747, allocations: 133.9 MB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.975, allocations: 82.33 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.008635/0.9836, allocations: 2.949 MB / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9837, allocations: 0 / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.9837, allocations: 0 / 1.019 GB, free: 1.082 MB / 0.6355 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.0005319/0.9842, allocations: 415.2 kB / 1.019 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.9843, allocations: 15.97 kB / 1.019 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.9843, allocations: 4 kB / 1.019 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.9845, allocations: 182.3 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.9845, allocations: 0 / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.9845, allocations: 4 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.811e-05/0.9846, allocations: 19.38 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.9847, allocations: 56.41 kB / 1.02 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.9848, allocations: 0 / 1.02 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.9848, allocations: 4 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.9848, allocations: 4 kB / 1.02 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.9854, allocations: 288.9 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.822e-05/0.9855, allocations: 39.39 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.9856, allocations: 35.59 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.9856, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.9857, allocations: 67.14 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.9857, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002535/0.986, allocations: 90.27 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.986, allocations: 55.41 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.9861, allocations: 118.5 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.9862, allocations: 29.7 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.9862, allocations: 91.23 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.9863, allocations: 14.97 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.9863, allocations: 0 / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.9864, allocations: 327 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-05/0.9865, allocations: 14.38 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.031e-05/0.9865, allocations: 44.38 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.894e-05/0.9866, allocations: 22.75 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9866, allocations: 0 / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001643/0.9868, allocations: 90.95 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.9868, allocations: 8 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.9868, allocations: 0 / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.9868, allocations: 0 / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.9869, allocations: 23.97 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.9869, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.98e-05/0.987, allocations: 15.91 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.987, allocations: 7.984 kB / 1.021 GB, free: 14.95 MB / 0.6511 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 8.211e-05/0.9871, allocations: 112.9 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001609/0.9873, allocations: 92.86 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.9873, allocations: 3.906 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.9873, allocations: 12 kB / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.9873, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9873, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.9874, allocations: 7.953 kB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.9877, allocations: 333.3 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.9877, allocations: 4 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.9878, allocations: 7.875 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.9878, allocations: 0 / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.9878, allocations: 3.984 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9878, allocations: 0 / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.9878, allocations: 3.953 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.9881, allocations: 194.7 kB / 1.022 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.9881, allocations: 88.95 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.9881, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.9882, allocations: 7.984 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.9883, allocations: 7.953 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.9883, allocations: 3.984 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.9883, allocations: 90.58 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9884, allocations: 7.938 kB / 1.022 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002905/0.9886, allocations: 51.92 kB / 1.022 GB, free: 13.92 MB / 0.6511 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.0008041/0.9895, allocations: 0.7991 MB / 1.023 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.9896, allocations: 54.05 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.9896, allocations: 0 / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/0.9897, allocations: 26.5 kB / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.9899, allocations: 11.36 kB / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.9903, allocations: 150.2 kB / 1.023 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.9906, allocations: 0.6964 MB / 1.024 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.007e-05/0.9907, allocations: 4.188 kB / 1.024 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.9907, allocations: 18.69 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.9908, allocations: 0 / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/1.011, allocations: 2.185 MB / 1.026 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/1.011, allocations: 199 kB / 1.026 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.428/2.44, allocations: 0 / 1.026 GB, free: 9.723 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)