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.001395/0.001395, 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.001722/0.001722, allocations: 197.9 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.48 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3084, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003249/0.3117, allocations: 1.858 MB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.313, allocations: 0.7949 MB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.3131, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.3133, allocations: 11.86 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.247e-05/0.3134, allocations: 23.78 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009295/0.3143, allocations: 361.3 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004042/0.3147, allocations: 391.1 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.3149, allocations: 72.03 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.3151, allocations: 151.6 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.3153, allocations: 135.5 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.237e-05/0.3154, allocations: 24 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3155, allocations: 39.98 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.3156, allocations: 55.8 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.3158, allocations: 159.4 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.3161, allocations: 367.1 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3161, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.72e-07/0.3161, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3162, allocations: 0 / 1.072 GB, free: 6.457 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.0008547/0.317, allocations: 0.6161 MB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3171, allocations: 12.03 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.709e-05/0.3172, allocations: 32.73 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008127/0.318, allocations: 309 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.318, allocations: 28.64 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.928e-05/0.3181, allocations: 40.36 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.3184, allocations: 180.7 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3184, allocations: 3.938 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.3185, allocations: 11.98 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3185, allocations: 4 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.3187, allocations: 107.9 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009574/0.3197, allocations: 0.5974 MB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.32, allocations: 202.5 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.3201, allocations: 84.77 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.3202, allocations: 4 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003809/0.3205, allocations: 258.8 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=36): time 1.743e-06/0.3206, allocations: 0 / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36): time 0.0007112/0.3213, allocations: 415 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.3213, allocations: 71.33 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3215, allocations: 187 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.3216, allocations: 45.7 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.3217, allocations: 136.7 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.061e-05/0.3218, allocations: 86.97 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.322, allocations: 138.1 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3221, allocations: 334.8 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.3224, allocations: 149 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.3228, allocations: 271.2 kB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/0.3233, allocations: 423.1 kB / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3233, allocations: 0 / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009701/0.3243, allocations: 0.5839 MB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/0.3244, allocations: 97.09 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3244, allocations: 4 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3244, allocations: 4.375 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.3246, allocations: 43.92 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.3246, allocations: 11.94 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.3252, allocations: 99.59 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.3252, allocations: 35.92 kB / 1.077 GB, free: 0.5039 MB / 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.0002022/0.3254, allocations: 178.9 kB / 1.077 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.3255, allocations: 23.72 kB / 1.077 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.951e-05/0.3256, allocations: 26.64 kB / 1.077 GB, free: 276 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3256, allocations: 4 kB / 1.077 GB, free: 272 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3256, allocations: 0 / 1.077 GB, free: 272 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3256, allocations: 3.984 kB / 1.077 GB, free: 268 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008997/0.3265, allocations: 0.7128 MB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.3265, allocations: 3.984 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.3266, allocations: 12 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3266, allocations: 4 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.3266, allocations: 11.98 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3266, allocations: 3.938 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3266, allocations: 0 / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005039/0.3272, allocations: 427.1 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.3272, allocations: 104.8 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.3273, allocations: 15.92 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3274, allocations: 8 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.3275, allocations: 27.95 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.3275, allocations: 15.98 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001018/0.3276, allocations: 125.2 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3276, allocations: 0 / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004152/0.328, allocations: 99.83 kB / 1.079 GB, free: 14.62 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.0001699/0.3282, allocations: 121.4 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007456/0.329, allocations: 0.5379 MB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.329, allocations: 0.75 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.3292, allocations: 147.7 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.3296, allocations: 43.97 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007118/0.3303, allocations: 482.4 kB / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3306, allocations: 0.7451 MB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.3308, allocations: 34.97 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.3308, allocations: 27.44 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.3308, allocations: 0 / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of Templates: time 0.007295/0.3381, allocations: 3.589 MB / 1.085 GB, free: 8.844 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)