Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00102/0.00102, allocations: 198.8 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.574/1.574, allocations: 251.7 MB / 0.5088 GB, free: 3.293 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4647, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002664/0.4674, allocations: 1.554 MB / 0.7253 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.4688, allocations: 0.7797 MB / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.4688, allocations: 0 / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.4689, allocations: 7.922 kB / 0.7261 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.679e-05/0.4689, allocations: 3.938 kB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.4695, allocations: 115.7 kB / 0.7262 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.615e-05/0.4696, allocations: 63.78 kB / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.465e-05/0.4697, allocations: 15.98 kB / 0.7263 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.4698, allocations: 27.91 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.4698, allocations: 39.83 kB / 0.7264 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.4699, allocations: 4 kB / 0.7264 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.4701, allocations: 95.84 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.4701, allocations: 15.97 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.4702, allocations: 31.8 kB / 0.7265 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.4704, allocations: 137.6 kB / 0.7266 GB, free: 10.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4704, allocations: 0 / 0.7266 GB, free: 10.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4704, allocations: 0 / 0.7266 GB, free: 10.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.4704, allocations: 0 / 0.7266 GB, free: 10.22 MB / 0.545 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.0006336/0.471, allocations: 420.9 kB / 0.727 GB, free: 9.754 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4711, allocations: 8.031 kB / 0.727 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.4711, allocations: 12.78 kB / 0.727 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.4713, allocations: 176.3 kB / 0.7272 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.4713, allocations: 4.375 kB / 0.7272 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.4713, allocations: 8.375 kB / 0.7272 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.4715, allocations: 73.95 kB / 0.7273 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4715, allocations: 0 / 0.7273 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.4715, allocations: 0 / 0.7273 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4715, allocations: 0 / 0.7273 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.4717, allocations: 39.97 kB / 0.7273 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.4722, allocations: 320.6 kB / 0.7276 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.4724, allocations: 46.55 kB / 0.7277 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.4724, allocations: 32.97 kB / 0.7277 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.4725, allocations: 4 kB / 0.7277 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.4727, allocations: 87.3 kB / 0.7278 GB, free: 8.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.4727, allocations: 0 / 0.7278 GB, free: 8.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003613/0.473, allocations: 137.6 kB / 0.7279 GB, free: 8.699 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.4731, allocations: 55.41 kB / 0.728 GB, free: 8.633 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.488e-05/0.4732, allocations: 125.8 kB / 0.7281 GB, free: 8.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.4732, allocations: 29.7 kB / 0.7281 GB, free: 8.465 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.4732, allocations: 92.14 kB / 0.7282 GB, free: 8.371 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.4733, allocations: 7.812 kB / 0.7282 GB, free: 8.363 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.4733, allocations: 33.7 kB / 0.7283 GB, free: 8.324 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.4734, allocations: 322.8 kB / 0.7286 GB, free: 8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.4735, allocations: 23.98 kB / 0.7286 GB, free: 7.977 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.4736, allocations: 50.55 kB / 0.7286 GB, free: 7.918 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.4737, allocations: 74.81 kB / 0.7287 GB, free: 7.836 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4737, allocations: 0 / 0.7287 GB, free: 7.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000226/0.474, allocations: 121.4 kB / 0.7288 GB, free: 7.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.474, allocations: 4 kB / 0.7288 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.474, allocations: 8.062 kB / 0.7288 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.474, allocations: 0 / 0.7288 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.616e-05/0.4741, allocations: 15.92 kB / 0.7289 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4741, allocations: 0 / 0.7289 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.4742, allocations: 19.83 kB / 0.7289 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.4742, allocations: 4 kB / 0.7289 GB, free: 7.66 MB / 0.545 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 8.063e-05/0.4743, allocations: 117.8 kB / 0.729 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.4743, allocations: 4 kB / 0.729 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.4744, allocations: 12.38 kB / 0.729 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4744, allocations: 4 kB / 0.729 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4744, allocations: 0 / 0.729 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.4744, allocations: 3.984 kB / 0.729 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.4748, allocations: 374.3 kB / 0.7294 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4748, allocations: 3.938 kB / 0.7294 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.4749, allocations: 11.98 kB / 0.7294 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4749, allocations: 0 / 0.7294 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.4749, allocations: 4 kB / 0.7294 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4749, allocations: 4 kB / 0.7294 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4749, allocations: 3.938 kB / 0.7294 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.4752, allocations: 211.4 kB / 0.7296 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.4752, allocations: 85.02 kB / 0.7297 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.4753, allocations: 4 kB / 0.7297 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-05/0.4754, allocations: 11.98 kB / 0.7297 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.4754, allocations: 3.938 kB / 0.7297 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.4754, allocations: 7.984 kB / 0.7297 GB, free: 6.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.665e-05/0.4755, allocations: 87.94 kB / 0.7298 GB, free: 6.625 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4755, allocations: 0 / 0.7298 GB, free: 6.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002898/0.4758, allocations: 43.92 kB / 0.7298 GB, free: 6.582 MB / 0.545 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.0003425/0.4761, allocations: 166.7 kB / 0.73 GB, free: 6.426 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.4764, allocations: 71.89 kB / 0.7301 GB, free: 6.355 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4764, allocations: 0 / 0.7301 GB, free: 6.355 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.211e-05/0.4765, allocations: 31.98 kB / 0.7301 GB, free: 6.324 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.4767, allocations: 8 kB / 0.7301 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.4771, allocations: 206.6 kB / 0.7303 GB, free: 6.086 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.4774, allocations: 0.6848 MB / 0.731 GB, free: 5.375 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.725e-05/0.4774, allocations: 7.984 kB / 0.731 GB, free: 5.367 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.4774, allocations: 15.44 kB / 0.731 GB, free: 5.355 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.4774, allocations: 4 kB / 0.731 GB, free: 5.352 MB / 0.545 GB Notification: Performance of Templates: time 0.00367/0.4811, allocations: 1.363 MB / 0.7323 GB, free: 4 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)