Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001614/0.001614, allocations: 196.5 kB / 16.14 MB, free: 6.695 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.004/3.004, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.25 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4141, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.002907/0.4171, allocations: 0.8811 MB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.4193, allocations: 1.369 MB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.742e-05/0.4194, allocations: 4 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.818e-05/0.4194, allocations: 3.938 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.4195, allocations: 19.78 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007822/0.4203, allocations: 258.7 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000352/0.4207, allocations: 347.4 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.4209, allocations: 44.81 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.421, allocations: 135.7 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.4212, allocations: 127.6 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.4213, allocations: 20 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.4214, allocations: 39.97 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.4215, allocations: 67.75 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.4217, allocations: 135.6 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.4221, allocations: 327.3 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.4221, allocations: 0 / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4221, allocations: 0 / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.4222, allocations: 0 / 1.071 GB, free: 7.172 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001176/0.4233, allocations: 0.6085 MB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4234, allocations: 8.031 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.4235, allocations: 28.83 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007966/0.4243, allocations: 304.5 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.4243, allocations: 24.59 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-05/0.4244, allocations: 40.36 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.4249, allocations: 255.4 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4249, allocations: 0 / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.425, allocations: 15.97 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.425, allocations: 4 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.4252, allocations: 124.6 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009933/0.4262, allocations: 0.6138 MB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.4269, allocations: 415.7 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.4272, allocations: 176.8 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.4272, allocations: 4 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006051/0.4278, allocations: 370.8 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 1.663e-06/0.4278, allocations: 0 / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001132/0.4289, allocations: 0.6582 MB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.429, allocations: 67.39 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.4292, allocations: 147.1 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.4292, allocations: 49.7 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.4293, allocations: 113 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/0.4294, allocations: 98.78 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.4296, allocations: 126.2 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4298, allocations: 334.8 kB / 1.076 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.4301, allocations: 141.1 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.4305, allocations: 300.1 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.4311, allocations: 458.3 kB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4311, allocations: 0 / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009157/0.432, allocations: 0.5806 MB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.301e-05/0.4321, allocations: 69.42 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4321, allocations: 7.938 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.4321, allocations: 8 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.4323, allocations: 43.86 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.4323, allocations: 15.88 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.4328, allocations: 91.83 kB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.4329, allocations: 35.98 kB / 1.077 GB, free: 500 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.0001893/0.433, allocations: 174.9 kB / 1.077 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.4331, allocations: 31.7 kB / 1.077 GB, free: 280 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.4332, allocations: 30.31 kB / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.4332, allocations: 7.984 kB / 1.078 GB, free: 244 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.4332, allocations: 7.875 kB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4332, allocations: 0 / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.4348, allocations: 1.013 MB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4348, allocations: 0 / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/0.4349, allocations: 15.92 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.4349, allocations: 8 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.4349, allocations: 15.98 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-06/0.435, allocations: 7.984 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.435, allocations: 0 / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009248/0.4359, allocations: 0.6165 MB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.436, allocations: 92.86 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.743e-05/0.4361, allocations: 23.98 kB / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.4363, allocations: 39.88 kB / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.4364, allocations: 39.94 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.4364, allocations: 35.97 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.156e-05/0.4365, allocations: 103.2 kB / 1.079 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4365, allocations: 0 / 1.079 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004252/0.437, allocations: 104 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0003018/0.4373, allocations: 150.2 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009083/0.4382, allocations: 0.5435 MB / 1.08 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4382, allocations: 0 / 1.08 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.4386, allocations: 293 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.439, allocations: 55.88 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/0.4399, allocations: 494.6 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.4402, allocations: 0.7257 MB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.4403, allocations: 42.95 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.4404, allocations: 31.42 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.4404, allocations: 0 / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of Templates: time 0.008483/0.4489, allocations: 3.936 MB / 1.086 GB, free: 7.715 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)