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.754/1.754, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001062/0.001061, allocations: 185 kB / 377.1 MB, free: 1.535 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.543/1.543, allocations: 205.4 MB / 0.6366 GB, free: 8.527 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.0008659/0.0008659, allocations: 91 kB / 0.7509 GB, free: 63.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2708, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8357/1.107, allocations: 141.3 MB / 1.126 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.107, allocations: 82.27 kB / 1.126 GB, free: 33.74 MB / 0.7292 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.01372/1.121, allocations: 3.243 MB / 1.13 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.667e-06/1.121, allocations: 0 / 1.13 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.307e-05/1.121, allocations: 8 kB / 1.13 GB, free: 31.41 MB / 0.7292 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.0008016/1.122, allocations: 457.8 kB / 1.13 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.965e-05/1.122, allocations: 12.02 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.053e-05/1.122, allocations: 39.19 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/1.122, allocations: 13.53 kB / 1.13 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/1.122, allocations: 171.6 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/1.122, allocations: 7.438 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/1.122, allocations: 12 kB / 1.13 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/1.122, allocations: 93.2 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/1.122, allocations: 0 / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/1.122, allocations: 4 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/1.122, allocations: 0 / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/1.123, allocations: 54.83 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/1.124, allocations: 349.3 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/1.124, allocations: 65.23 kB / 1.131 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/1.124, allocations: 0 / 1.131 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/1.124, allocations: 96.69 kB / 1.131 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 2.184e-06/1.124, allocations: 0.6562 kB / 1.131 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0008287/1.125, allocations: 201.5 kB / 1.131 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/1.125, allocations: 55.41 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/1.125, allocations: 119.9 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/1.125, allocations: 25.7 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/1.125, allocations: 99.56 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/1.126, allocations: 19.72 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-06/1.126, allocations: 0.5625 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.59e-05/1.126, allocations: 318.3 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/1.126, allocations: 34.8 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/1.126, allocations: 72.38 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/1.126, allocations: 38.59 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.126, allocations: 0 / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003956/1.126, allocations: 137.6 kB / 1.132 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/1.127, allocations: 8 kB / 1.132 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.127, allocations: 0 / 1.132 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/1.127, allocations: 4 kB / 1.132 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/1.127, allocations: 15.5 kB / 1.132 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/1.127, allocations: 4.547 kB / 1.132 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/1.127, allocations: 17.22 kB / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/1.127, allocations: 11.52 kB / 1.132 GB, free: 28.87 MB / 0.7292 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 () * Number of clocked 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.0001365/1.127, allocations: 122.8 kB / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/1.127, allocations: 11.91 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/1.127, allocations: 8.312 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/1.127, allocations: 1.875 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.127, allocations: 4.5 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.127, allocations: 3.516 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007267/1.128, allocations: 432.3 kB / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.128, allocations: 1.062 kB / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/1.128, allocations: 4 kB / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.128, allocations: 0 / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/1.128, allocations: 12.11 kB / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/1.128, allocations: 0 / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.128, allocations: 7.938 kB / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005344/1.129, allocations: 253.8 kB / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/1.129, allocations: 85.02 kB / 1.133 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/1.129, allocations: 4.328 kB / 1.133 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/1.129, allocations: 12 kB / 1.133 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/1.129, allocations: 3.375 kB / 1.133 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/1.129, allocations: 11.47 kB / 1.133 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.65e-05/1.129, allocations: 98.56 kB / 1.133 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.5e-07/1.129, allocations: 0 / 1.133 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000618/1.13, allocations: 48.88 kB / 1.133 GB, free: 27.76 MB / 0.7292 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) * Number of clocked states: 0 () * 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.001266/1.131, allocations: 0.8593 MB / 1.134 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004276/1.132, allocations: 102.8 kB / 1.134 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/1.132, allocations: 0 / 1.134 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/1.132, allocations: 51.84 kB / 1.134 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/1.132, allocations: 15.52 kB / 1.134 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/1.133, allocations: 1.06 MB / 1.135 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/1.133, allocations: 0.696 MB / 1.136 GB, free: 24.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.43e-05/1.134, allocations: 4.891 kB / 1.136 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/1.134, allocations: 22.77 kB / 1.136 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/1.134, allocations: 0 / 1.136 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/1.156, allocations: 2.822 MB / 1.139 GB, free: 23.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003502/1.156, allocations: 229 kB / 1.139 GB, free: 23.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.952, allocations: 5.125 kB / 1.139 GB, free: 23.2 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)