Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001174/0.001175, allocations: 176.9 kB / 361.4 MB, free: 6.855 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.593/1.593, 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.001056/0.001056, allocations: 92.97 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.209e-05, allocations: 0 / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7322/0.7323, allocations: 115.3 MB / 0.9645 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2937/1.026, allocations: 139.6 MB / 1.101 GB, free: 116 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/1.026, allocations: 84.62 kB / 1.101 GB, free: 32 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.0132/1.04, allocations: 3.21 MB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.525e-06/1.04, allocations: 0.5625 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.24e-05/1.04, allocations: 0.7188 kB / 1.104 GB, free: 12.88 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.0007617/1.04, allocations: 454.8 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/1.041, allocations: 9.5 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/1.041, allocations: 8.938 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/1.041, allocations: 171.9 kB / 1.105 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/1.041, allocations: 0 / 1.105 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/1.041, allocations: 8.531 kB / 1.105 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001425/1.041, allocations: 27.98 kB / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/1.041, allocations: 80.94 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.041, allocations: 3.219 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/1.041, allocations: 0 / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/1.041, allocations: 0 / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009613/1.042, allocations: 321.7 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/1.042, allocations: 54.39 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.898e-05/1.043, allocations: 36.8 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/1.043, allocations: 0 / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/1.043, allocations: 87.52 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/1.043, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.000464/1.043, allocations: 117.6 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/1.043, allocations: 62.16 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/1.044, allocations: 111.4 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/1.044, allocations: 29.7 kB / 1.106 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/1.044, allocations: 88.12 kB / 1.106 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/1.044, allocations: 19.72 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/1.044, allocations: 4 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.044, allocations: 326.8 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/1.044, allocations: 23.94 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/1.044, allocations: 48.28 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.644e-05/1.044, allocations: 27.94 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.044, allocations: 4 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002675/1.044, allocations: 109.5 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.044, allocations: 4 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.044, allocations: 0 / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/1.045, allocations: 4 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/1.045, allocations: 19.92 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/1.045, allocations: 2.156 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/1.045, allocations: 4.094 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/1.045, allocations: 8 kB / 1.106 GB, free: 10.44 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.0001175/1.045, allocations: 113.5 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003343/1.045, allocations: 133.5 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/1.045, allocations: 7.906 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/1.045, allocations: 8.625 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.045, allocations: 0 / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.045, allocations: 4.688 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.045, allocations: 0 / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/1.046, allocations: 382.9 kB / 1.107 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/1.046, allocations: 0 / 1.107 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/1.046, allocations: 11.36 kB / 1.107 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/1.046, allocations: 4 kB / 1.107 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/1.046, allocations: 4 kB / 1.107 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.046, allocations: 3.984 kB / 1.107 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.046, allocations: 0 / 1.107 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/1.047, allocations: 226.4 kB / 1.107 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/1.047, allocations: 81.02 kB / 1.107 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/1.047, allocations: 4 kB / 1.107 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/1.047, allocations: 7.984 kB / 1.107 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/1.047, allocations: 7.984 kB / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/1.047, allocations: 0 / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.864e-05/1.047, allocations: 105.5 kB / 1.107 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.11e-07/1.047, allocations: 0 / 1.107 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005419/1.048, allocations: 51.94 kB / 1.107 GB, free: 9.223 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.001337/1.049, allocations: 0.8315 MB / 1.108 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002663/1.049, allocations: 71.91 kB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.049, allocations: 0 / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/1.049, allocations: 35.94 kB / 1.108 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/1.05, allocations: 12.84 kB / 1.108 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008039/1.051, allocations: 168.2 kB / 1.108 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/1.051, allocations: 0.6965 MB / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.728e-05/1.051, allocations: 7.984 kB / 1.109 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/1.051, allocations: 15.44 kB / 1.109 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/1.051, allocations: 0 / 1.109 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/1.077, allocations: 2.515 MB / 1.112 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005193/1.078, allocations: 191.3 kB / 1.112 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.707, allocations: 9.156 kB / 1.112 GB, free: 4.664 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)