Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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 2.114/2.114, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001366/0.001366, allocations: 172.9 kB / 366.7 MB, free: 1.688 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.7/1.7, allocations: 205.2 MB / 0.626 GB, free: 7.133 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.0008268/0.0008266, allocations: 81.77 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.993e-05/1.995e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7202/0.7202, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2039/0.9242, allocations: 140.5 MB / 1.111 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.9245, allocations: 80.83 kB / 1.111 GB, free: 9.465 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.01215/0.9366, allocations: 3.571 MB / 1.114 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9367, allocations: 0 / 1.114 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.9367, allocations: 7.938 kB / 1.114 GB, free: 5.93 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006711/0.9374, allocations: 473.8 kB / 1.115 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.9374, allocations: 8.031 kB / 1.115 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.9375, allocations: 15.81 kB / 1.115 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.9377, allocations: 183.4 kB / 1.115 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.9377, allocations: 4 kB / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.9377, allocations: 5.438 kB / 1.115 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001146/0.9379, allocations: 39.98 kB / 1.115 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.938, allocations: 73.66 kB / 1.115 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.938, allocations: 0 / 1.115 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.9381, allocations: 9.266 kB / 1.115 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.9381, allocations: 5.859 kB / 1.115 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008634/0.9389, allocations: 343.8 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.9391, allocations: 54.58 kB / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.9391, allocations: 40.95 kB / 1.115 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.9392, allocations: 3.938 kB / 1.115 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.9393, allocations: 87.31 kB / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.9393, allocations: 0 / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003501/0.9397, allocations: 141.6 kB / 1.116 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.9397, allocations: 59.34 kB / 1.116 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.9399, allocations: 136.6 kB / 1.116 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.9399, allocations: 28.14 kB / 1.116 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.9399, allocations: 96.38 kB / 1.116 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.94, allocations: 19.86 kB / 1.116 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.94, allocations: 0 / 1.116 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.9401, allocations: 326.8 kB / 1.116 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.484e-05/0.9402, allocations: 24 kB / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.613e-05/0.9403, allocations: 68.28 kB / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.96e-05/0.9403, allocations: 27.98 kB / 1.116 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9403, allocations: 0 / 1.116 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002155/0.9406, allocations: 122.9 kB / 1.116 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.9406, allocations: 8.094 kB / 1.116 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9406, allocations: 0 / 1.116 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.9406, allocations: 4 kB / 1.116 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.9408, allocations: 23.97 kB / 1.116 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.9408, allocations: 0 / 1.116 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.9409, allocations: 11.94 kB / 1.117 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.9409, allocations: 4 kB / 1.117 GB, free: 3.309 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.887e-05/0.941, allocations: 125.6 kB / 1.117 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002661/0.9413, allocations: 145.4 kB / 1.117 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.9414, allocations: 7.906 kB / 1.117 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.9414, allocations: 9.375 kB / 1.117 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.9414, allocations: 6.062 kB / 1.117 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9414, allocations: 0 / 1.117 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.9415, allocations: 7.938 kB / 1.117 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.942, allocations: 406.3 kB / 1.117 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.942, allocations: 4 kB / 1.117 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.995e-05/0.942, allocations: 11.98 kB / 1.117 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.9421, allocations: 4 kB / 1.117 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.9421, allocations: 3.984 kB / 1.117 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.9421, allocations: 0 / 1.117 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.9421, allocations: 7.891 kB / 1.117 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.9424, allocations: 235.4 kB / 1.117 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.9425, allocations: 88.92 kB / 1.118 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.9425, allocations: 7.984 kB / 1.118 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.9426, allocations: 8 kB / 1.118 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.9427, allocations: 15.94 kB / 1.118 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.9427, allocations: 2.312 kB / 1.118 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.408e-05/0.9428, allocations: 103.8 kB / 1.118 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9428, allocations: 0 / 1.118 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003764/0.9432, allocations: 55.92 kB / 1.118 GB, free: 1.996 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008738/0.944, allocations: 0.8439 MB / 1.119 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.9443, allocations: 85.8 kB / 1.119 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.9443, allocations: 0 / 1.119 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/0.9443, allocations: 40 kB / 1.119 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.9446, allocations: 11.98 kB / 1.119 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.9451, allocations: 194 kB / 1.119 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.9453, allocations: 0.7003 MB / 1.12 GB, free: 56 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.583e-05/0.9454, allocations: 11.94 kB / 1.12 GB, free: 44 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.9455, allocations: 27.42 kB / 1.12 GB, free: 16 kB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.9455, allocations: 0 / 1.12 GB, free: 16 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.9663, allocations: 2.85 MB / 1.122 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.9666, allocations: 191.9 kB / 1.123 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.681, allocations: 0 / 1.123 GB, free: 13.05 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)