Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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_master_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.957/4.957, allocations: 0.5623 GB / 0.5769 GB, free: 3.312 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002468/0.002467, allocations: 354.5 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.382/4.382, allocations: 410.7 MB / 1.112 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001781/0.001781, allocations: 188.2 kB / 1.225 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004932, allocations: 16 kB / 1.348 GB, free: 8.18 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6129, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0007837/0.6137, allocations: 475 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.6151, allocations: 1.191 MB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.6152, allocations: 6.625 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.6152, allocations: 3.938 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.024e-05/0.6153, allocations: 15.84 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.616, allocations: 215.8 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.6162, allocations: 207.5 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.6163, allocations: 13.38 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.6164, allocations: 85.48 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.6165, allocations: 79.72 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.6166, allocations: 12 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.374e-05/0.6167, allocations: 23.98 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.6167, allocations: 29.89 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.575e-05/0.6168, allocations: 53.64 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.617, allocations: 155.4 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.678e-06/0.617, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.721e-06/0.617, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.617, allocations: 4 kB / 1.463 GB, free: 281.8 MB / 0.8542 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.0005656/0.6176, allocations: 463.8 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.6176, allocations: 15.61 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.6177, allocations: 15.91 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006267/0.6184, allocations: 269.7 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.6184, allocations: 12.95 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.6185, allocations: 23.94 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.6188, allocations: 131.6 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.6188, allocations: 1.078 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.6188, allocations: 9.734 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.6188, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.619, allocations: 63.89 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008262/0.6198, allocations: 0.5203 MB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.6201, allocations: 154.2 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.6203, allocations: 68.19 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.6203, allocations: 0.75 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003773/0.6207, allocations: 210.7 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 2.473e-06/0.6207, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22): time 0.0006356/0.6214, allocations: 309.3 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.6214, allocations: 86.72 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/0.6215, allocations: 130.1 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.6216, allocations: 41.69 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.6216, allocations: 96.61 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.6217, allocations: 53.97 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.6217, allocations: 12.31 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.6218, allocations: 326.8 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.622, allocations: 84.23 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.6223, allocations: 154.2 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.6225, allocations: 144.2 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6225, allocations: 1.156 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006721/0.6232, allocations: 357.9 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.6233, allocations: 63.41 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.723e-06/0.6233, allocations: 2.812 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.6233, allocations: 4 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.6235, allocations: 19.92 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.6235, allocations: 7.953 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.624, allocations: 91.77 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.624, allocations: 20 kB / 1.467 GB, free: 277.6 MB / 0.8542 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 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.6242, allocations: 142.4 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.6243, allocations: 11.91 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.6243, allocations: 20.48 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.51e-06/0.6243, allocations: 6.016 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.479e-06/0.6243, allocations: 0.9688 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.657e-06/0.6244, allocations: 3.953 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006651/0.625, allocations: 0.6126 MB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.6251, allocations: 4 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.6251, allocations: 10.55 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.466e-06/0.6251, allocations: 4 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.6252, allocations: 3.984 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.066e-06/0.6252, allocations: 4 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.569e-06/0.6252, allocations: 3.953 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.6256, allocations: 433.2 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.6257, allocations: 89.02 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.6257, allocations: 8 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.626, allocations: 7.984 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.748e-05/0.6261, allocations: 31.91 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.6261, allocations: 15.98 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.142e-05/0.6262, allocations: 96.17 kB / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.88e-07/0.6262, allocations: 0 / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005301/0.6267, allocations: 52 kB / 1.469 GB, free: 276 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001972/0.6269, allocations: 122.6 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000612/0.6275, allocations: 348.2 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.09e-06/0.6276, allocations: 0 / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.6278, allocations: 122.7 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.6283, allocations: 27.42 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.6289, allocations: 315.4 kB / 1.469 GB, free: 275 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.6291, allocations: 0.7061 MB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.766e-05/0.6292, allocations: 21.36 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.6292, allocations: 23.42 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.75e-06/0.6293, allocations: 0 / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.006263/0.6355, allocations: 2.375 MB / 1.472 GB, free: 272 MB / 0.8542 GB