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.473/1.473, allocations: 249.3 MB / 261.8 MB, free: 5.816 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.00149/0.001489, allocations: 178.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009206/0.0009207, allocations: 86.47 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.549e-05, allocations: 7.984 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2183, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8263/1.045, allocations: 133.6 MB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/1.045, allocations: 82.33 kB / 1.022 GB, free: 1.031 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.01329/1.058, allocations: 2.97 MB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.717e-06/1.058, allocations: 0 / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.926e-05/1.058, allocations: 4 kB / 1.025 GB, free: 14.49 MB / 0.6511 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.0009075/1.059, allocations: 418.3 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 8.77e-05/1.059, allocations: 16.03 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.375e-05/1.06, allocations: 30.56 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/1.06, allocations: 4 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/1.06, allocations: 174.9 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/1.06, allocations: 7.375 kB / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/1.06, allocations: 0 / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/1.06, allocations: 58.98 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/1.06, allocations: 4.812 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/1.06, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/1.06, allocations: 4 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.993e-05/1.06, allocations: 26.81 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/1.061, allocations: 314.8 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/1.062, allocations: 42.38 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.739e-05/1.062, allocations: 31.42 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/1.062, allocations: 4 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/1.062, allocations: 69.95 kB / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/1.062, allocations: 0 / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0004115/1.062, allocations: 97.03 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/1.063, allocations: 55.47 kB / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/1.063, allocations: 113.2 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/1.063, allocations: 29.14 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/1.063, allocations: 99.97 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/1.063, allocations: 11.41 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/1.063, allocations: 4 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002315/1.063, allocations: 322 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/1.063, allocations: 19.56 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/1.063, allocations: 45.33 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.305e-05/1.063, allocations: 23.67 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.063, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000248/1.064, allocations: 98.64 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/1.064, allocations: 5.719 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.064, allocations: 11.98 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.064, allocations: 3.938 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/1.064, allocations: 11.98 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/1.064, allocations: 7.953 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.941e-05/1.064, allocations: 19.22 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/1.064, allocations: 4 kB / 1.027 GB, free: 12.26 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 0.000143/1.064, allocations: 108 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/1.064, allocations: 0 / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/1.064, allocations: 16.05 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.064, allocations: 0 / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/1.064, allocations: 0 / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/1.064, allocations: 3.953 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/1.065, allocations: 369.8 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/1.065, allocations: 4 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/1.065, allocations: 4 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.065, allocations: 0 / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/1.065, allocations: 3.984 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/1.065, allocations: 3.953 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.065, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/1.066, allocations: 197.6 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/1.066, allocations: 85.02 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/1.066, allocations: 0 / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/1.066, allocations: 7.984 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/1.066, allocations: 15.45 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/1.066, allocations: 3.984 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001094/1.066, allocations: 97.06 kB / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.31e-07/1.066, allocations: 0 / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000521/1.067, allocations: 51.05 kB / 1.028 GB, free: 11.29 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.001231/1.068, allocations: 0.8025 MB / 1.029 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002232/1.068, allocations: 62.11 kB / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.068, allocations: 0 / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/1.068, allocations: 31.12 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/1.069, allocations: 15.92 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/1.069, allocations: 153.7 kB / 1.029 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/1.07, allocations: 0.6887 MB / 1.03 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.209e-05/1.07, allocations: 12.3 kB / 1.03 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/1.07, allocations: 22.55 kB / 1.03 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of SimCode: time 8.11e-07/1.07, allocations: 0 / 1.03 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/1.087, allocations: 2.527 MB / 1.033 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/1.087, allocations: 232.4 kB / 1.033 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.735, allocations: 2.062 kB / 1.033 GB, free: 6.863 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)