Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 197 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 63.14 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3673, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003121/0.3705, allocations: 1.558 MB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.372, allocations: 0.7322 MB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.372, allocations: 0 / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.659e-05/0.3721, allocations: 3.938 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.96e-05/0.3722, allocations: 15.86 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.3729, allocations: 103.8 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.3731, allocations: 75.83 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.3732, allocations: 19.97 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3733, allocations: 27.92 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.744e-05/0.3734, allocations: 43.83 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.3735, allocations: 4 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.3737, allocations: 103.8 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.3737, allocations: 15.92 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.3738, allocations: 31.86 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.374, allocations: 135.9 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.374, allocations: 0 / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3741, allocations: 4 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3741, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 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.0006794/0.3748, allocations: 417 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3748, allocations: 12.03 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.3749, allocations: 8.844 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.375, allocations: 184.2 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.375, allocations: 384 / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.3751, allocations: 4.375 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.3753, allocations: 73.97 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3753, allocations: 4 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3753, allocations: 0 / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3753, allocations: 0 / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.3754, allocations: 39.91 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006197/0.3761, allocations: 316.7 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.3762, allocations: 50.55 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.067e-05/0.3763, allocations: 32.97 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.3763, allocations: 0 / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.3766, allocations: 79.44 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.3766, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004163/0.377, allocations: 141.5 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.3771, allocations: 55.41 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3772, allocations: 125.7 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3772, allocations: 29.7 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.3773, allocations: 88.14 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3773, allocations: 15.75 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.3774, allocations: 29.7 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3775, allocations: 326.8 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.112e-05/0.3776, allocations: 27.98 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.783e-05/0.3777, allocations: 50.55 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.3779, allocations: 82.42 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3779, allocations: 0 / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002271/0.3781, allocations: 113.5 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3781, allocations: 4 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3781, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3782, allocations: 4 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.894e-05/0.3783, allocations: 11.98 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3783, allocations: 3.938 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.743e-05/0.3784, allocations: 15.98 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3784, allocations: 8 kB / 1.073 GB, free: 5.398 MB / 0.8262 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 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.3785, allocations: 117.8 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.3785, allocations: 7.906 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.3786, allocations: 8.375 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3786, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3786, allocations: 4 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3786, allocations: 3.984 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.3791, allocations: 382.4 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3791, allocations: 0 / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.3791, allocations: 7.984 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3791, allocations: 0 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3791, allocations: 0 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3791, allocations: 0 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3791, allocations: 4.406 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.3794, allocations: 223.4 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.3795, allocations: 84.95 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3795, allocations: 4 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.3796, allocations: 3.984 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.3797, allocations: 11.94 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.3797, allocations: 4 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.205e-05/0.3797, allocations: 91.27 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3798, allocations: 0 / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003124/0.3801, allocations: 43.98 kB / 1.074 GB, free: 4.316 MB / 0.8262 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,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003568/0.3804, allocations: 161.7 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.3807, allocations: 79.83 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3807, allocations: 128 / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.337e-05/0.3808, allocations: 39.97 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.3811, allocations: 8 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.3815, allocations: 196.2 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3818, allocations: 0.6885 MB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.3819, allocations: 7.984 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.3819, allocations: 15.44 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3819, allocations: 0 / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of Templates: time 0.004166/0.3861, allocations: 1.414 MB / 1.076 GB, free: 1.68 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)