Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.733/1.733, allocations: 285.4 MB / 298 MB, free: 6.004 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.001656/0.001656, allocations: 180.9 kB / 366.4 MB, free: 2.098 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.858/1.858, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0008265/0.0008265, allocations: 101.1 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.637e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8717/0.8718, allocations: 115.3 MB / 0.9709 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2264/1.098, allocations: 139.9 MB / 1.108 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/1.099, allocations: 81.03 kB / 1.108 GB, free: 11.8 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.009492/1.108, allocations: 2.968 MB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/1.108, allocations: 3 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.236e-05/1.108, allocations: 4 kB / 1.111 GB, free: 8.859 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.0006103/1.109, allocations: 415.9 kB / 1.111 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.109, allocations: 12.03 kB / 1.111 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/1.109, allocations: 4.625 kB / 1.111 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/1.109, allocations: 174.1 kB / 1.111 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/1.109, allocations: 4.531 kB / 1.111 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/1.109, allocations: 8.531 kB / 1.111 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/1.109, allocations: 60.47 kB / 1.111 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.109, allocations: 0 / 1.111 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/1.109, allocations: 1.969 kB / 1.111 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/1.109, allocations: 0 / 1.111 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.161e-05/1.109, allocations: 27.94 kB / 1.111 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/1.11, allocations: 319 kB / 1.112 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.83e-05/1.11, allocations: 35.11 kB / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/1.11, allocations: 25.7 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/1.11, allocations: 8.062 kB / 1.112 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/1.11, allocations: 76.39 kB / 1.112 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/1.11, allocations: 2 kB / 1.112 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002795/1.111, allocations: 89.67 kB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/1.111, allocations: 59.41 kB / 1.112 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/1.111, allocations: 119.2 kB / 1.112 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/1.111, allocations: 34.39 kB / 1.112 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/1.111, allocations: 88.31 kB / 1.112 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/1.111, allocations: 24.36 kB / 1.112 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/1.111, allocations: 1.188 kB / 1.112 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.111, allocations: 322.8 kB / 1.112 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/1.111, allocations: 20.53 kB / 1.112 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/1.111, allocations: 39.08 kB / 1.112 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.711e-05/1.112, allocations: 23.92 kB / 1.112 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.112, allocations: 4 kB / 1.112 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001726/1.112, allocations: 100.4 kB / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.112, allocations: 5.406 kB / 1.113 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.112, allocations: 0 / 1.113 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.112, allocations: 4 kB / 1.113 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/1.112, allocations: 15.98 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.112, allocations: 2.344 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.263e-05/1.112, allocations: 7.938 kB / 1.113 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/1.112, allocations: 11.14 kB / 1.113 GB, free: 6.562 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 9.152e-05/1.112, allocations: 117 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/1.112, allocations: 11.89 kB / 1.113 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/1.112, allocations: 8.625 kB / 1.113 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/1.112, allocations: 4 kB / 1.113 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.112, allocations: 0 / 1.113 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.112, allocations: 0 / 1.113 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/1.113, allocations: 366.5 kB / 1.113 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.113, allocations: 3.938 kB / 1.113 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/1.113, allocations: 4 kB / 1.113 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.113, allocations: 4 kB / 1.113 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/1.113, allocations: 7.984 kB / 1.113 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.113, allocations: 3.938 kB / 1.113 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.113, allocations: 0 / 1.113 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/1.113, allocations: 195.4 kB / 1.113 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/1.113, allocations: 77.11 kB / 1.113 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/1.113, allocations: 3.984 kB / 1.113 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.543e-05/1.113, allocations: 8 kB / 1.113 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/1.113, allocations: 11.98 kB / 1.113 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/1.113, allocations: 4 kB / 1.113 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.826e-05/1.113, allocations: 91.23 kB / 1.113 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.113, allocations: 0 / 1.113 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003317/1.114, allocations: 51.92 kB / 1.114 GB, free: 5.512 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.000452/1.114, allocations: 167.6 kB / 1.114 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001831/1.114, allocations: 63.91 kB / 1.114 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.114, allocations: 0 / 1.114 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.336e-05/1.114, allocations: 28 kB / 1.114 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/1.115, allocations: 4 kB / 1.114 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/1.115, allocations: 107.4 kB / 1.114 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/1.115, allocations: 0.702 MB / 1.115 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.334e-05/1.115, allocations: 8.172 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/1.115, allocations: 7.438 kB / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of SimCode: time 6.62e-07/1.115, allocations: 0 / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of Templates: time 0.004617/1.12, allocations: 1.536 MB / 1.116 GB, free: 2.902 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)