Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.001099, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 63.95 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3094, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003247/0.3127, allocations: 1.786 MB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3141, allocations: 0.7636 MB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.3142, allocations: 3.938 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.3144, allocations: 23.73 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.07e-05/0.3145, allocations: 35.66 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009541/0.3154, allocations: 390.1 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.3159, allocations: 451.1 kB / 1.072 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.316, allocations: 76.02 kB / 1.072 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.3162, allocations: 159.6 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.3164, allocations: 143.5 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.715e-05/0.3164, allocations: 40 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.3166, allocations: 55.92 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.3166, allocations: 59.81 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.3168, allocations: 163.4 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.3172, allocations: 383.2 kB / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3172, allocations: 3.938 kB / 1.073 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3172, allocations: 0 / 1.073 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.3172, allocations: 0 / 1.073 GB, free: 5.957 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008027/0.318, allocations: 0.6199 MB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.3181, allocations: 11.97 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.15e-05/0.3181, allocations: 36.75 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007684/0.3189, allocations: 306.2 kB / 1.074 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.319, allocations: 20.7 kB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.319, allocations: 40.36 kB / 1.074 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.3194, allocations: 180.7 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3194, allocations: 3.938 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.3194, allocations: 11.98 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3194, allocations: 4 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.3196, allocations: 115.8 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008888/0.3205, allocations: 0.5936 MB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.3209, allocations: 202.5 kB / 1.075 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.321, allocations: 84.77 kB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.321, allocations: 7.984 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/0.3214, allocations: 254.8 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=36): time 1.523e-06/0.3214, allocations: 0 / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36): time 0.0007127/0.3221, allocations: 415 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.3222, allocations: 55.41 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.3224, allocations: 191 kB / 1.076 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.3225, allocations: 45.7 kB / 1.076 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.3226, allocations: 140.7 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.3227, allocations: 82.97 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.3228, allocations: 138.1 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.323, allocations: 334.8 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.3233, allocations: 157 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.3236, allocations: 271.3 kB / 1.077 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.3241, allocations: 415.1 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3241, allocations: 11.94 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009411/0.3251, allocations: 0.5804 MB / 1.078 GB, free: 324 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.3252, allocations: 97.09 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3252, allocations: 4.094 kB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3253, allocations: 11.94 kB / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.3254, allocations: 44.23 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3254, allocations: 8 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005274/0.326, allocations: 99.59 kB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/0.326, allocations: 31.98 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 (accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer.yAcc,$PRE.accuTimer.yAcc,resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.y,$whenCondition3,pre.y,$PRE.pre.u,$whenCondition9,con.y,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,booPul2.y,$PRE.booPul2.y,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,$whenCondition7,$whenCondition8,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul.y,$PRE.booPul.y,pre.u,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0001827/0.3262, allocations: 183 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.3263, allocations: 27.7 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.3263, allocations: 26.66 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3263, allocations: 4 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3263, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3264, allocations: 3.984 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008543/0.3272, allocations: 0.7128 MB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3272, allocations: 8 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.3273, allocations: 11.94 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3273, allocations: 0 / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.3273, allocations: 11.98 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3273, allocations: 4 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3274, allocations: 0 / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/0.3279, allocations: 427 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.049e-05/0.328, allocations: 104.7 kB / 1.079 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.328, allocations: 15.92 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3281, allocations: 7.984 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.3282, allocations: 23.97 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.3282, allocations: 19.98 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.082e-05/0.3283, allocations: 121.2 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3283, allocations: 0 / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003846/0.3287, allocations: 103.8 kB / 1.08 GB, free: 14.12 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: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0001721/0.3289, allocations: 125.4 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000888/0.3298, allocations: 0.5457 MB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3298, allocations: 0 / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.33, allocations: 148.4 kB / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.3304, allocations: 57.61 kB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/0.331, allocations: 420.9 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3313, allocations: 0.7448 MB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.3314, allocations: 34.95 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.3315, allocations: 27.44 kB / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3315, allocations: 0 / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of Templates: time 0.007736/0.3392, allocations: 3.795 MB / 1.085 GB, free: 8.172 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)