Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.709/1.709, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.0013/0.0013, allocations: 184.8 kB / 366.7 MB, free: 1.672 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.71/1.71, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0008934/0.0008936, allocations: 93.38 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.915e-05/1.929e-05, allocations: 0 / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7395/0.7395, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1996/0.9391, allocations: 140.3 MB / 1.11 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.9395, allocations: 88.38 kB / 1.11 GB, free: 9.746 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.009301/0.9488, allocations: 2.951 MB / 1.113 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.163e-06/0.9489, allocations: 0 / 1.113 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.9489, allocations: 4.562 kB / 1.113 GB, free: 6.816 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005304/0.9494, allocations: 418.8 kB / 1.114 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.9495, allocations: 12.03 kB / 1.114 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.9495, allocations: 7.906 kB / 1.114 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.9497, allocations: 169.2 kB / 1.114 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.9497, allocations: 3.984 kB / 1.114 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.9497, allocations: 4.562 kB / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.004e-05/0.9498, allocations: 28.64 kB / 1.114 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.9499, allocations: 53.67 kB / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.9499, allocations: 0.75 kB / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.95, allocations: 4 kB / 1.114 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.95, allocations: 3.281 kB / 1.114 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.9506, allocations: 285.4 kB / 1.114 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.059e-05/0.9507, allocations: 47.45 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.9507, allocations: 18.92 kB / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.9508, allocations: 0.7188 kB / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.9509, allocations: 82.98 kB / 1.114 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.9509, allocations: 0 / 1.114 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002646/0.9512, allocations: 85.67 kB / 1.114 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.9512, allocations: 55.41 kB / 1.115 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.9514, allocations: 120.5 kB / 1.115 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.9514, allocations: 25.7 kB / 1.115 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.9515, allocations: 92.81 kB / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.9515, allocations: 17.75 kB / 1.115 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.9515, allocations: 0 / 1.115 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9517, allocations: 326.8 kB / 1.115 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.9517, allocations: 15.94 kB / 1.115 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.96e-05/0.9518, allocations: 46.56 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.531e-05/0.9519, allocations: 19.98 kB / 1.115 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9519, allocations: 3.094 kB / 1.115 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001677/0.952, allocations: 97.52 kB / 1.115 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.9521, allocations: 7.094 kB / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.9521, allocations: 0 / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.9521, allocations: 4 kB / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.9522, allocations: 11.98 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.9522, allocations: 3.938 kB / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.9523, allocations: 11.98 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.9523, allocations: 4 kB / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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 9.719e-05/0.9524, allocations: 109 kB / 1.115 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001701/0.9526, allocations: 103.6 kB / 1.115 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.9526, allocations: 4 kB / 1.115 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.9527, allocations: 4.625 kB / 1.115 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.9527, allocations: 4 kB / 1.116 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.9527, allocations: 3.984 kB / 1.116 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.9527, allocations: 0 / 1.116 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.9531, allocations: 342.9 kB / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9531, allocations: 0 / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.9531, allocations: 7.984 kB / 1.116 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9531, allocations: 0 / 1.116 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.9532, allocations: 4 kB / 1.116 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9532, allocations: 3.938 kB / 1.116 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9532, allocations: 0 / 1.116 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.9534, allocations: 193.5 kB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.9535, allocations: 93.02 kB / 1.116 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.9535, allocations: 3.984 kB / 1.116 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.9536, allocations: 5.75 kB / 1.116 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.9536, allocations: 8.016 kB / 1.116 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.9536, allocations: 4 kB / 1.116 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.571e-05/0.9537, allocations: 93.53 kB / 1.116 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9537, allocations: 0 / 1.116 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003173/0.954, allocations: 51.92 kB / 1.116 GB, free: 3.48 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: 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.0008816/0.9549, allocations: 0.792 MB / 1.117 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.9551, allocations: 53.62 kB / 1.117 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9551, allocations: 3.938 kB / 1.117 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.705e-05/0.9552, allocations: 31.97 kB / 1.117 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.9554, allocations: 0 / 1.117 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.9558, allocations: 146.1 kB / 1.117 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.9562, allocations: 0.6892 MB / 1.118 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.046e-05/0.9562, allocations: 9.5 kB / 1.118 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.9563, allocations: 23.42 kB / 1.118 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.9563, allocations: 0 / 1.118 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.9784, allocations: 2.186 MB / 1.12 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.9787, allocations: 185.7 kB / 1.12 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.575, allocations: 0 / 1.12 GB, free: 15.34 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)