Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.6 MB / 307.5 MB, free: 5.234 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.001163/0.001163, allocations: 177 kB / 377.1 MB, free: 1.547 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.674/1.674, allocations: 205.4 MB / 0.6366 GB, free: 8.664 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.0008863/0.0008865, allocations: 89.69 kB / 0.7509 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 8 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3081, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9193/1.228, allocations: 141 MB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/1.228, allocations: 85.62 kB / 1.126 GB, free: 34.06 MB / 0.7292 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.009007/1.237, allocations: 2.981 MB / 1.129 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.248e-06/1.237, allocations: 0 / 1.129 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.946e-06/1.237, allocations: 3.938 kB / 1.129 GB, free: 31.91 MB / 0.7292 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.0005734/1.238, allocations: 435.4 kB / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.238, allocations: 19.95 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/1.238, allocations: 30.56 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/1.238, allocations: 6.062 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/1.238, allocations: 170.4 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/1.238, allocations: 12.5 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/1.238, allocations: 0 / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/1.238, allocations: 71.69 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.238, allocations: 4 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/1.238, allocations: 0 / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/1.238, allocations: 0 / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/1.238, allocations: 51.48 kB / 1.13 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/1.239, allocations: 318.8 kB / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/1.239, allocations: 53.91 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/1.239, allocations: 0 / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/1.239, allocations: 85.31 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/1.239, allocations: 0 / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004349/1.24, allocations: 145.6 kB / 1.13 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/1.24, allocations: 58.98 kB / 1.13 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/1.24, allocations: 117.6 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/1.24, allocations: 29.7 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/1.24, allocations: 91.61 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/1.24, allocations: 15.81 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/1.24, allocations: 0 / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/1.24, allocations: 322.2 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/1.24, allocations: 27.42 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.16e-05/1.24, allocations: 62.41 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.655e-05/1.24, allocations: 31.42 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.24, allocations: 0 / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002207/1.241, allocations: 116.7 kB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.241, allocations: 4 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.241, allocations: 0.5 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.241, allocations: 4 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/1.241, allocations: 12.17 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/1.241, allocations: 0 / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.628e-05/1.241, allocations: 15.88 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/1.241, allocations: 11.95 kB / 1.131 GB, free: 29.56 MB / 0.7292 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.0001039/1.241, allocations: 121.8 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/1.241, allocations: 4 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/1.241, allocations: 11.94 kB / 1.131 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/1.241, allocations: 0 / 1.131 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.241, allocations: 1.625 kB / 1.131 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.241, allocations: 0 / 1.131 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/1.242, allocations: 394.5 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.242, allocations: 0.5 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/1.242, allocations: 7.656 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/1.242, allocations: 0 / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/1.242, allocations: 0.5625 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/1.242, allocations: 4.5 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.242, allocations: 1.266 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/1.242, allocations: 221.9 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/1.242, allocations: 85.05 kB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/1.242, allocations: 4.344 kB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/1.242, allocations: 4.844 kB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/1.242, allocations: 11.61 kB / 1.132 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/1.242, allocations: 4 kB / 1.132 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.583e-05/1.242, allocations: 99.61 kB / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.072e-06/1.242, allocations: 3.938 kB / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002954/1.243, allocations: 51.41 kB / 1.132 GB, free: 28.52 MB / 0.7292 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.0007628/1.243, allocations: 0.8176 MB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002304/1.244, allocations: 82.59 kB / 1.133 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.244, allocations: 0 / 1.133 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/1.244, allocations: 35.55 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/1.244, allocations: 7.656 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/1.245, allocations: 0.7314 MB / 1.134 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/1.245, allocations: 0.6987 MB / 1.135 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.883e-05/1.245, allocations: 1.438 kB / 1.135 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/1.245, allocations: 22.72 kB / 1.135 GB, free: 26.13 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.245, allocations: 0 / 1.135 GB, free: 26.13 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/1.26, allocations: 2.49 MB / 1.137 GB, free: 24.78 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/1.26, allocations: 234 kB / 1.137 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/3.031, allocations: 0 / 1.137 GB, free: 24.54 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)