Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.602/1.602, allocations: 285.4 MB / 298 MB, free: 5.957 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.001125/0.001125, allocations: 184.8 kB / 366.4 MB, free: 2.062 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.715/1.715, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008492/0.0008492, allocations: 98.45 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.422e-05/4.424e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8307/0.8308, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2073/1.038, allocations: 139.9 MB / 1.108 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/1.039, allocations: 85.16 kB / 1.108 GB, free: 11.73 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.008939/1.047, allocations: 2.964 MB / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/1.048, allocations: 0.5 kB / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.048, allocations: 4.656 kB / 1.111 GB, free: 8.801 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005025/1.048, allocations: 421 kB / 1.111 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.048, allocations: 9.938 kB / 1.111 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/1.048, allocations: 33 kB / 1.111 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/1.048, allocations: 7.906 kB / 1.111 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/1.048, allocations: 179 kB / 1.111 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/1.048, allocations: 7.984 kB / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/1.048, allocations: 4.688 kB / 1.111 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/1.049, allocations: 66.14 kB / 1.111 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/1.049, allocations: 2.25 kB / 1.111 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/1.049, allocations: 0 / 1.111 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/1.049, allocations: 1.969 kB / 1.111 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.37e-05/1.049, allocations: 20 kB / 1.111 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/1.049, allocations: 315.2 kB / 1.112 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.74e-05/1.049, allocations: 42.56 kB / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/1.049, allocations: 29.64 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/1.049, allocations: 0.7188 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/1.05, allocations: 74.62 kB / 1.112 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/1.05, allocations: 0 / 1.112 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002336/1.05, allocations: 99.67 kB / 1.112 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/1.05, allocations: 59.36 kB / 1.112 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/1.05, allocations: 116.8 kB / 1.112 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/1.05, allocations: 25.7 kB / 1.112 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/1.05, allocations: 93.14 kB / 1.112 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/1.05, allocations: 23.67 kB / 1.112 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/1.05, allocations: 6 kB / 1.112 GB, free: 7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.05, allocations: 310.8 kB / 1.112 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/1.05, allocations: 23.98 kB / 1.113 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.733e-05/1.05, allocations: 39.11 kB / 1.113 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.643e-05/1.05, allocations: 26.64 kB / 1.113 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.05, allocations: 0 / 1.113 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000166/1.051, allocations: 97.52 kB / 1.113 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.051, allocations: 16.98 kB / 1.113 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.051, allocations: 4.062 kB / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/1.051, allocations: 0 / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/1.051, allocations: 12 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/1.051, allocations: 6.516 kB / 1.113 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.367e-05/1.051, allocations: 11.94 kB / 1.113 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/1.051, allocations: 8 kB / 1.113 GB, free: 6.441 MB / 0.7136 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 7.493e-05/1.051, allocations: 105 kB / 1.113 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/1.051, allocations: 7.906 kB / 1.113 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/1.051, allocations: 16.61 kB / 1.113 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/1.051, allocations: 0 / 1.113 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.051, allocations: 1.875 kB / 1.113 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.051, allocations: 0 / 1.113 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/1.051, allocations: 370.4 kB / 1.113 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.051, allocations: 0 / 1.113 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/1.051, allocations: 4 kB / 1.113 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.051, allocations: 0 / 1.113 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/1.051, allocations: 4 kB / 1.113 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.051, allocations: 7.938 kB / 1.113 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.051, allocations: 3.953 kB / 1.113 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/1.052, allocations: 191.4 kB / 1.113 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/1.052, allocations: 85.11 kB / 1.113 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/1.052, allocations: 0 / 1.113 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/1.052, allocations: 11.92 kB / 1.113 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/1.052, allocations: 8 kB / 1.114 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/1.052, allocations: 9.125 kB / 1.114 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.99e-05/1.052, allocations: 92.59 kB / 1.114 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.052, allocations: 0 / 1.114 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002779/1.052, allocations: 55.83 kB / 1.114 GB, free: 5.395 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: 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.00072/1.053, allocations: 0.7938 MB / 1.114 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001484/1.053, allocations: 59.97 kB / 1.114 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.053, allocations: 0 / 1.114 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.196e-05/1.053, allocations: 31.94 kB / 1.115 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/1.053, allocations: 11.17 kB / 1.115 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/1.054, allocations: 157.6 kB / 1.115 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/1.054, allocations: 0.6926 MB / 1.115 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.023e-05/1.054, allocations: 4.188 kB / 1.115 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/1.054, allocations: 23.42 kB / 1.115 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of SimCode: time 3.4e-07/1.054, allocations: 0 / 1.115 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/1.068, allocations: 2.515 MB / 1.118 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/1.068, allocations: 223.8 kB / 1.118 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.66, allocations: 6.406 kB / 1.118 GB, free: 1.043 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)