Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.875/1.875, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001849/0.001849, allocations: 172.9 kB / 361.4 MB, free: 6.816 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.657/1.657, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0009027/0.0009028, allocations: 105.5 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.53e-05/2.535e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7649/0.7649, allocations: 115.3 MB / 0.9645 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.9629, allocations: 139.5 MB / 1.101 GB, free: 188 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.9632, allocations: 80.67 kB / 1.101 GB, free: 108 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.009737/0.9729, allocations: 3.198 MB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.196e-06/0.973, allocations: 5.25 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.973, allocations: 4 kB / 1.104 GB, free: 12.96 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.0005354/0.9735, allocations: 447 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.9736, allocations: 8.031 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.9736, allocations: 11.88 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.9737, allocations: 176 kB / 1.105 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.9738, allocations: 4 kB / 1.105 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.9738, allocations: 4 kB / 1.105 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.607e-05/0.9739, allocations: 28 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.974, allocations: 73.58 kB / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.974, allocations: 0 / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.9741, allocations: 5.656 kB / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.9741, allocations: 0 / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/0.9748, allocations: 319 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.185e-05/0.9749, allocations: 51.53 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.9749, allocations: 35.95 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.975, allocations: 7.938 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.9751, allocations: 75.53 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.9751, allocations: 0 / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003004/0.9754, allocations: 129.5 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.9754, allocations: 55.41 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.979e-05/0.9755, allocations: 116.1 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.9756, allocations: 25.7 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.9756, allocations: 96.12 kB / 1.106 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.9756, allocations: 15.72 kB / 1.106 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.9757, allocations: 0 / 1.106 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.9758, allocations: 330.8 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.9758, allocations: 16 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.9759, allocations: 56.8 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.347e-05/0.976, allocations: 27.98 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.976, allocations: 0 / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001678/0.9761, allocations: 109.5 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.9762, allocations: 4 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.9762, allocations: 1.797 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.9762, allocations: 4 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.9763, allocations: 19.92 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.9763, allocations: 0 / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.409e-05/0.9764, allocations: 9.125 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.9764, allocations: 12.09 kB / 1.106 GB, free: 10.52 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 8.865e-05/0.9765, allocations: 110.2 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002197/0.9768, allocations: 125.5 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.9768, allocations: 11.89 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.9768, allocations: 4.625 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.9768, allocations: 4 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9768, allocations: 0 / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.9768, allocations: 0 / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.9773, allocations: 383 kB / 1.107 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.9773, allocations: 3 kB / 1.107 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.9773, allocations: 11.92 kB / 1.107 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.9773, allocations: 4 kB / 1.107 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.9774, allocations: 0 / 1.107 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.9774, allocations: 0 / 1.107 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9774, allocations: 0 / 1.107 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.9776, allocations: 233.2 kB / 1.107 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.9777, allocations: 82.7 kB / 1.107 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.9777, allocations: 8 kB / 1.107 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.9778, allocations: 7.984 kB / 1.107 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.9779, allocations: 4 kB / 1.107 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.9779, allocations: 3.984 kB / 1.107 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.095e-05/0.9779, allocations: 97.48 kB / 1.107 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.978, allocations: 0 / 1.107 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003132/0.9783, allocations: 55.92 kB / 1.107 GB, free: 9.312 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.0007904/0.9791, allocations: 0.8222 MB / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.9792, allocations: 74.2 kB / 1.108 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9792, allocations: 0 / 1.108 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.836e-05/0.9793, allocations: 43.91 kB / 1.108 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.9795, allocations: 4.688 kB / 1.108 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.98, allocations: 174 kB / 1.108 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.9803, allocations: 0.6926 MB / 1.109 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.404e-05/0.9803, allocations: 4 kB / 1.109 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.9804, allocations: 27.42 kB / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.9804, allocations: 0 / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/1.001, allocations: 2.501 MB / 1.111 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/1.001, allocations: 193.2 kB / 1.112 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.65, allocations: 0 / 1.112 GB, free: 4.777 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)