Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.658/1.658, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001081/0.001081, allocations: 176.9 kB / 361.4 MB, free: 6.801 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.641/1.641, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009041/0.0009042, allocations: 98.33 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.433e-05, allocations: 4 kB / 0.8518 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8836/0.8836, allocations: 115.3 MB / 0.9644 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/1.107, allocations: 139.7 MB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/1.108, allocations: 89.66 kB / 1.101 GB, free: 15.9 MB / 0.7136 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.01281/1.12, allocations: 3.779 MB / 1.105 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.814e-06/1.12, allocations: 0 / 1.105 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.222e-05/1.12, allocations: 4 kB / 1.105 GB, free: 12.19 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007874/1.121, allocations: 0.5243 MB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.121, allocations: 8.031 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.967e-05/1.121, allocations: 8.938 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/1.122, allocations: 185.3 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/1.122, allocations: 7.984 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/1.122, allocations: 7.984 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001382/1.122, allocations: 43.94 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/1.122, allocations: 93.62 kB / 1.106 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.122, allocations: 4 kB / 1.106 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/1.122, allocations: 0 / 1.106 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/1.122, allocations: 1.219 kB / 1.106 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/1.123, allocations: 397 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/1.123, allocations: 62.52 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/1.123, allocations: 44.84 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/1.123, allocations: 0 / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/1.124, allocations: 99.36 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/1.124, allocations: 0 / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004017/1.124, allocations: 143.8 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/1.124, allocations: 63.36 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/1.124, allocations: 125.7 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/1.124, allocations: 25.7 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.414e-05/1.124, allocations: 100.3 kB / 1.107 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/1.124, allocations: 23.8 kB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/1.124, allocations: 0 / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.125, allocations: 318.8 kB / 1.107 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/1.125, allocations: 31.98 kB / 1.107 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.454e-05/1.125, allocations: 57.09 kB / 1.107 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.997e-05/1.125, allocations: 31.98 kB / 1.107 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.125, allocations: 4 kB / 1.107 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002012/1.125, allocations: 109.4 kB / 1.107 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.125, allocations: 9.25 kB / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.125, allocations: 0 / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.125, allocations: 7.938 kB / 1.107 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/1.125, allocations: 28.09 kB / 1.107 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/1.125, allocations: 4 kB / 1.107 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/1.125, allocations: 15.89 kB / 1.107 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/1.125, allocations: 15.42 kB / 1.107 GB, free: 9.391 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$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.0001096/1.126, allocations: 109.5 kB / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002946/1.126, allocations: 144 kB / 1.107 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/1.126, allocations: 19.8 kB / 1.107 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/1.126, allocations: 16.56 kB / 1.107 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.126, allocations: 0 / 1.107 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.126, allocations: 3.953 kB / 1.107 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/1.126, allocations: 0 / 1.107 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/1.127, allocations: 423.1 kB / 1.108 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.127, allocations: 0 / 1.108 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.783e-05/1.127, allocations: 16.09 kB / 1.108 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/1.127, allocations: 8.031 kB / 1.108 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/1.127, allocations: 3.984 kB / 1.108 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/1.127, allocations: 7.953 kB / 1.108 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.127, allocations: 3.984 kB / 1.108 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/1.127, allocations: 240.6 kB / 1.108 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/1.127, allocations: 84.92 kB / 1.108 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/1.127, allocations: 4 kB / 1.108 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/1.127, allocations: 35.97 kB / 1.108 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/1.128, allocations: 11.94 kB / 1.108 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/1.128, allocations: 3.984 kB / 1.108 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.136e-05/1.128, allocations: 104.2 kB / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.91e-07/1.128, allocations: 0 / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004097/1.128, allocations: 55.92 kB / 1.108 GB, free: 8.039 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: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.001166/1.129, allocations: 0.8466 MB / 1.109 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002186/1.13, allocations: 87.86 kB / 1.109 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.13, allocations: 0 / 1.109 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/1.13, allocations: 50.61 kB / 1.109 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/1.13, allocations: 7.953 kB / 1.109 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/1.131, allocations: 200.3 kB / 1.11 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/1.131, allocations: 0.7043 MB / 1.11 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.586e-05/1.131, allocations: 8.172 kB / 1.11 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/1.131, allocations: 31.42 kB / 1.11 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of SimCode: time 4.51e-07/1.131, allocations: 0 / 1.11 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/1.156, allocations: 2.901 MB / 1.113 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003533/1.156, allocations: 215.6 kB / 1.113 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.806, allocations: 5.406 kB / 1.113 GB, free: 2.891 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)