Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007703/0.007703, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.483/1.483, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 16.23 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3719, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001124/0.3731, allocations: 332 kB / 1.074 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.3747, allocations: 1.116 MB / 1.076 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.3748, allocations: 0 / 1.076 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.3748, allocations: 3.984 kB / 1.076 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.365e-05/0.3749, allocations: 3.938 kB / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.3754, allocations: 99.86 kB / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.3755, allocations: 79.77 kB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.3756, allocations: 4 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.774e-05/0.3757, allocations: 39.95 kB / 1.076 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.3758, allocations: 23.91 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.3758, allocations: 4 kB / 1.076 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.898e-05/0.3759, allocations: 12 kB / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.3759, allocations: 7.984 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.219e-05/0.376, allocations: 53.61 kB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.3761, allocations: 75.78 kB / 1.076 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3762, allocations: 0 / 1.076 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.652e-05/0.3762, allocations: 0 / 1.076 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3762, allocations: 0 / 1.076 GB, free: 5.711 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004939/0.3767, allocations: 373.4 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.3767, allocations: 8.031 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.3768, allocations: 8.875 kB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.377, allocations: 168.4 kB / 1.076 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.377, allocations: 384 / 1.076 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.377, allocations: 4.375 kB / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.3771, allocations: 42.25 kB / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3771, allocations: 192 / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.3772, allocations: 3.938 kB / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3772, allocations: 4 kB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.358e-05/0.3772, allocations: 4 kB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.3776, allocations: 288.8 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.745e-05/0.3777, allocations: 22.52 kB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.3777, allocations: 8.922 kB / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.3777, allocations: 4 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.3779, allocations: 63.3 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.3779, allocations: 4 kB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001987/0.3781, allocations: 61.61 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.3781, allocations: 55.41 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3782, allocations: 105.8 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.3783, allocations: 33.64 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.3783, allocations: 80.14 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.3784, allocations: 15.91 kB / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.3784, allocations: 17.7 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3786, allocations: 322.8 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.3786, allocations: 27.98 kB / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-05/0.3787, allocations: 50.55 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.3789, allocations: 80.22 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3789, allocations: 3.938 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002536/0.3791, allocations: 147.3 kB / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.3792, allocations: 35.58 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3792, allocations: 0 / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3792, allocations: 0 / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.069e-05/0.3792, allocations: 0 / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3793, allocations: 4 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.3795, allocations: 47.89 kB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.3796, allocations: 8 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001028/0.3797, allocations: 117.7 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.3797, allocations: 4 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.3797, allocations: 7.906 kB / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3797, allocations: 0 / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3797, allocations: 7.984 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3798, allocations: 4 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.3799, allocations: 157.6 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3799, allocations: 0 / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-06/0.3799, allocations: 0 / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3799, allocations: 0 / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3799, allocations: 4.312 kB / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3799, allocations: 7.984 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3799, allocations: 0 / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.3801, allocations: 81.06 kB / 1.078 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.3801, allocations: 85.02 kB / 1.078 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.3801, allocations: 3.938 kB / 1.078 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.399e-05/0.3802, allocations: 0 / 1.078 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.3802, allocations: 3.984 kB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.3802, allocations: 4 kB / 1.078 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.019e-05/0.3803, allocations: 83.28 kB / 1.078 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3803, allocations: 0 / 1.078 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002046/0.3805, allocations: 16 kB / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001559/0.3807, allocations: 111.2 kB / 1.079 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.3809, allocations: 119.4 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3809, allocations: 0 / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.974e-05/0.3809, allocations: 19.88 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.3812, allocations: 13.12 kB / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.3815, allocations: 126.9 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.3817, allocations: 0.6774 MB / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.144e-05/0.3818, allocations: 4 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.3818, allocations: 15.42 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3818, allocations: 0 / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of Templates: time 0.003418/0.3852, allocations: 1.018 MB / 1.081 GB, free: 0.5469 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)