Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.717/1.717, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001212/0.001213, allocations: 180.8 kB / 366.7 MB, free: 1.652 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.766/1.766, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.001141/0.001141, allocations: 97.06 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.277e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7268/0.7269, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/0.9461, allocations: 140.6 MB / 1.111 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003999/0.9466, allocations: 80.67 kB / 1.111 GB, free: 9.457 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.01733/0.9639, allocations: 3.205 MB / 1.114 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.355e-06/0.964, allocations: 0 / 1.114 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.964, allocations: 4 kB / 1.114 GB, free: 6.277 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008162/0.9648, allocations: 451.1 kB / 1.114 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/0.9649, allocations: 10.78 kB / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.905e-05/0.965, allocations: 7.906 kB / 1.114 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.9652, allocations: 171 kB / 1.114 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.9653, allocations: 4 kB / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.9653, allocations: 4 kB / 1.114 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001646/0.9655, allocations: 31.98 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.9657, allocations: 69.22 kB / 1.115 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.9658, allocations: 3.938 kB / 1.115 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.9658, allocations: 4 kB / 1.115 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.9658, allocations: 0 / 1.115 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.9669, allocations: 328.6 kB / 1.115 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.9671, allocations: 50.56 kB / 1.115 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.9672, allocations: 37.3 kB / 1.115 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.9673, allocations: 0 / 1.115 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.9675, allocations: 87.39 kB / 1.115 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 3.126e-06/0.9676, allocations: 1.156 kB / 1.115 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.000512/0.9681, allocations: 121.6 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.9682, allocations: 60.42 kB / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.9683, allocations: 111.2 kB / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.9684, allocations: 28.83 kB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/0.9685, allocations: 96.12 kB / 1.115 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.9685, allocations: 15.72 kB / 1.115 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.9685, allocations: 0 / 1.115 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.9687, allocations: 322.8 kB / 1.116 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/0.9688, allocations: 20 kB / 1.116 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.9689, allocations: 55.39 kB / 1.116 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.9691, allocations: 34.86 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9691, allocations: 0 / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003215/0.9694, allocations: 109.5 kB / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.9695, allocations: 8 kB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.9695, allocations: 2.578 kB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.9695, allocations: 0 / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.9697, allocations: 19.92 kB / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.9697, allocations: 4 kB / 1.116 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.9699, allocations: 4 kB / 1.116 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.9699, allocations: 8 kB / 1.116 GB, free: 3.844 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 (13): * Single equations (assignments): 13 * 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.0001732/0.9701, allocations: 114.4 kB / 1.116 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003992/0.9705, allocations: 129.5 kB / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.9706, allocations: 3.906 kB / 1.116 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.9706, allocations: 12.62 kB / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.9707, allocations: 0 / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.9707, allocations: 0 / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.9707, allocations: 0 / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007416/0.9714, allocations: 383 kB / 1.117 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9715, allocations: 4 kB / 1.117 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/0.9715, allocations: 7.984 kB / 1.117 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.9716, allocations: 0 / 1.117 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.9716, allocations: 2.812 kB / 1.117 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9716, allocations: 4 kB / 1.117 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.9716, allocations: 3.938 kB / 1.117 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.972, allocations: 223.4 kB / 1.117 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.9721, allocations: 85.02 kB / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.9721, allocations: 0 / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.9723, allocations: 11.98 kB / 1.117 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.9724, allocations: 4 kB / 1.117 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.9724, allocations: 7.984 kB / 1.117 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.98e-05/0.9725, allocations: 95.23 kB / 1.117 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9725, allocations: 4 kB / 1.117 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005123/0.973, allocations: 51.77 kB / 1.117 GB, free: 2.641 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 (8): * Single equations (assignments): 4 * 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.001136/0.9742, allocations: 0.8331 MB / 1.118 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.9744, allocations: 67.92 kB / 1.118 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9744, allocations: 0 / 1.118 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.9745, allocations: 37.78 kB / 1.118 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.9748, allocations: 7.984 kB / 1.118 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006767/0.9755, allocations: 171.7 kB / 1.118 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.9759, allocations: 0.6892 MB / 1.119 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.159e-05/0.976, allocations: 15.95 kB / 1.119 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.976, allocations: 19.44 kB / 1.119 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.976, allocations: 0 / 1.119 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/1.004, allocations: 2.504 MB / 1.121 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/1.004, allocations: 179.4 kB / 1.122 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.717, allocations: 0 / 1.122 GB, free: 14.09 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)