Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 184.3 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008737/0.0008738, allocations: 82.55 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.934e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2018, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7178/0.9197, allocations: 133.9 MB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.92, allocations: 78.02 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.008764/0.9288, allocations: 2.954 MB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9288, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.9288, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005159/0.9294, allocations: 411.1 kB / 1.019 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.9294, allocations: 15.97 kB / 1.019 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.9295, allocations: 4 kB / 1.019 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.9296, allocations: 178.9 kB / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.9297, allocations: 4 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.9297, allocations: 7.938 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.713e-05/0.9298, allocations: 22.69 kB / 1.02 GB, free: 244 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.9299, allocations: 52.98 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.9299, allocations: 0 / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.9299, allocations: 0 / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.9299, allocations: 3.625 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.9305, allocations: 295.2 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.858e-05/0.9306, allocations: 41.27 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.9307, allocations: 27.91 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.9307, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.9308, allocations: 69.95 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.9308, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002765/0.9311, allocations: 99.62 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.9312, allocations: 55.42 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.9313, allocations: 111.5 kB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.9313, allocations: 29.7 kB / 1.02 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.9314, allocations: 91.59 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.9314, allocations: 19.34 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.9314, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.9316, allocations: 326.5 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/0.9316, allocations: 15.12 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.095e-05/0.9317, allocations: 43.27 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/0.9317, allocations: 19.31 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9317, allocations: 4 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001584/0.9319, allocations: 91.27 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.9319, allocations: 8 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9319, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.9319, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.932, allocations: 11.98 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.9321, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.9321, allocations: 7.906 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.9322, allocations: 7.984 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.313e-05/0.9322, allocations: 116.3 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001536/0.9324, allocations: 91.66 kB / 1.021 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.9324, allocations: 11.03 kB / 1.021 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.9325, allocations: 4.625 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.9325, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9325, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.9325, allocations: 3.953 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.9328, allocations: 336.1 kB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.9329, allocations: 0 / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.9329, allocations: 4 kB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.9329, allocations: 7.938 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.9329, allocations: 7.734 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9329, allocations: 0 / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.933, allocations: 3.953 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.9332, allocations: 191.5 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.9332, allocations: 89.02 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.9332, allocations: 7.609 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.9333, allocations: 7.984 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.9334, allocations: 8.828 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.9334, allocations: 3.984 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.9335, allocations: 86.66 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9335, allocations: 3.938 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002886/0.9338, allocations: 51.36 kB / 1.022 GB, free: 13.79 MB / 0.6511 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0007544/0.9345, allocations: 0.8003 MB / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.9347, allocations: 54.36 kB / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.9347, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.381e-05/0.9347, allocations: 33.36 kB / 1.023 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.9349, allocations: 7.984 kB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.9354, allocations: 146.7 kB / 1.023 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.9356, allocations: 0.6924 MB / 1.024 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.9357, allocations: 8.312 kB / 1.024 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.9357, allocations: 22.36 kB / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.9357, allocations: 0 / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.9556, allocations: 2.19 MB / 1.026 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/0.9559, allocations: 211.1 kB / 1.026 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.482, allocations: 0 / 1.026 GB, free: 9.582 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)