Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.269/2.269, allocations: 391.2 MB / 407 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 199.4 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 118.4 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.001121, allocations: 56.55 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3199, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002068/0.3221, allocations: 0.7959 MB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.3235, allocations: 1.269 MB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.3236, allocations: 7.938 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.3236, allocations: 3.984 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/0.3237, allocations: 11.86 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.3243, allocations: 226 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.3245, allocations: 227.5 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3246, allocations: 20.22 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3248, allocations: 91.8 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.3249, allocations: 83.75 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.3249, allocations: 12 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.325, allocations: 28 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.3251, allocations: 27.91 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.3252, allocations: 83.73 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.3254, allocations: 213.6 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3255, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3255, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.3255, allocations: 4 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007386/0.3262, allocations: 0.4946 MB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3263, allocations: 15.92 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.3263, allocations: 20.78 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.3269, allocations: 244.4 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.327, allocations: 12.36 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.327, allocations: 20.38 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.3272, allocations: 142.3 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3273, allocations: 3.938 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.3273, allocations: 3.984 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3273, allocations: 4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.3274, allocations: 67.88 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.3281, allocations: 0.524 MB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.3283, allocations: 157.2 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.513e-05/0.3284, allocations: 61.73 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.3284, allocations: 8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.3287, allocations: 202.3 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.3287, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of matching and sorting (n=22): time 0.0004811/0.3292, allocations: 317.3 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.3293, allocations: 85.05 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.24e-05/0.3294, allocations: 129.3 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.3294, allocations: 45.69 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.3295, allocations: 92.77 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.3295, allocations: 51.34 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.3296, allocations: 77.67 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.556e-05/0.3297, allocations: 326.8 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.3299, allocations: 88.23 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.3301, allocations: 153.2 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.3303, allocations: 247.3 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3303, allocations: 0 / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004875/0.3308, allocations: 356.7 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.3308, allocations: 68.48 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.3308, allocations: 4 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3309, allocations: 4 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.331, allocations: 19.92 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.331, allocations: 3.938 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.3313, allocations: 68 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.3313, allocations: 23.98 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001012/0.3314, allocations: 144.6 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.3315, allocations: 19.8 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.3315, allocations: 12.5 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3315, allocations: 4 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3315, allocations: 7.938 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3315, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.332, allocations: 0.6109 MB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.332, allocations: 0 / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.332, allocations: 12 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.3321, allocations: 3.938 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.3321, allocations: 11.92 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3321, allocations: 4 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3321, allocations: 0 / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.3326, allocations: 1.04 MB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.3327, allocations: 88.92 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.3327, allocations: 12.08 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3328, allocations: 15.92 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.3329, allocations: 23.97 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.3329, allocations: 19.98 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.333, allocations: 94.52 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.333, allocations: 4 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004087/0.3334, allocations: 59.92 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001738/0.3336, allocations: 122.9 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.334, allocations: 346.6 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.334, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.3341, allocations: 119.9 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.3345, allocations: 23.97 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.3352, allocations: 473.2 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.3353, allocations: 0.7167 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.488e-05/0.3354, allocations: 17.53 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.3354, allocations: 19.44 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.3355, allocations: 0 / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of Templates: time 0.004956/0.3404, allocations: 2.612 MB / 1.232 GB, free: 102.9 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)