Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.3 MB / 308.1 MB, free: 4.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 193.8 kB / 376.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.1 MB / 0.6354 GB, free: 9.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001186/0.001187, allocations: 97.94 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3559, allocations: 114.5 MB / 0.9822 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.003154/0.3591, allocations: 0.665 MB / 0.9829 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.3613, allocations: 1.117 MB / 0.984 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.3614, allocations: 4 kB / 0.984 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.231e-05/0.3615, allocations: 0 / 0.984 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.972e-05/0.3616, allocations: 0 / 0.984 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.3623, allocations: 111.8 kB / 0.9841 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.3624, allocations: 79.88 kB / 0.9842 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3626, allocations: 4 kB / 0.9842 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3627, allocations: 39.84 kB / 0.9842 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.3628, allocations: 23.97 kB / 0.9842 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.3629, allocations: 7.938 kB / 0.9842 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.363, allocations: 19.97 kB / 0.9842 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.363, allocations: 4 kB / 0.9842 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.336e-05/0.3631, allocations: 19.92 kB / 0.9843 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.3633, allocations: 75.84 kB / 0.9843 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3633, allocations: 0 / 0.9843 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.047e-06/0.3633, allocations: 0 / 0.9843 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.3633, allocations: 3.938 kB / 0.9843 GB, free: 8.156 MB / 0.7136 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.0006476/0.364, allocations: 381.4 kB / 0.9847 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/0.364, allocations: 12.03 kB / 0.9847 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.3641, allocations: 8.875 kB / 0.9847 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.3644, allocations: 168.3 kB / 0.9849 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.3644, allocations: 8.375 kB / 0.9849 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.3644, allocations: 8.359 kB / 0.9849 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.3646, allocations: 42.19 kB / 0.9849 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3646, allocations: 192 / 0.9849 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3646, allocations: 3.938 kB / 0.9849 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3646, allocations: 4 kB / 0.985 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.684e-05/0.3647, allocations: 4 kB / 0.985 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.3652, allocations: 284.9 kB / 0.9852 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.605e-05/0.3653, allocations: 22.52 kB / 0.9852 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.3653, allocations: 16.86 kB / 0.9853 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.3653, allocations: 0 / 0.9853 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.3656, allocations: 67.39 kB / 0.9853 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/0.3656, allocations: 0 / 0.9853 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002656/0.3659, allocations: 65.58 kB / 0.9854 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.366, allocations: 59.34 kB / 0.9854 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3661, allocations: 105.8 kB / 0.9855 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.3661, allocations: 25.7 kB / 0.9856 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.3662, allocations: 88.14 kB / 0.9857 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.3662, allocations: 11.89 kB / 0.9857 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.398e-05/0.3663, allocations: 29.7 kB / 0.9857 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3665, allocations: 314.8 kB / 0.986 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/0.3666, allocations: 31.97 kB / 0.986 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.832e-05/0.3667, allocations: 42.56 kB / 0.9861 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.3668, allocations: 88.2 kB / 0.9862 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.3668, allocations: 3.938 kB / 0.9862 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002818/0.3671, allocations: 143.3 kB / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.3672, allocations: 33.7 kB / 0.9863 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3672, allocations: 0 / 0.9863 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3672, allocations: 0 / 0.9863 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.91e-05/0.3672, allocations: 7.984 kB / 0.9863 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3673, allocations: 3.938 kB / 0.9863 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.3675, allocations: 32 kB / 0.9864 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.3675, allocations: 4 kB / 0.9864 GB, free: 5.809 MB / 0.7136 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.0001157/0.3677, allocations: 125.8 kB / 0.9865 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.3677, allocations: 7.906 kB / 0.9865 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.3677, allocations: 7.906 kB / 0.9865 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3677, allocations: 0 / 0.9865 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3677, allocations: 0 / 0.9865 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3678, allocations: 7.938 kB / 0.9865 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.3679, allocations: 157.6 kB / 0.9867 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3679, allocations: 8.531 kB / 0.9867 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.3679, allocations: 3.938 kB / 0.9867 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.368, allocations: 4 kB / 0.9867 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.368, allocations: 4 kB / 0.9867 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.368, allocations: 0 / 0.9867 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.368, allocations: 3.984 kB / 0.9867 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.3685, allocations: 0.6318 MB / 0.9873 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.3685, allocations: 81.02 kB / 0.9874 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.3686, allocations: 3.984 kB / 0.9874 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.762e-05/0.3686, allocations: 4 kB / 0.9874 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.3686, allocations: 7.938 kB / 0.9874 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.3687, allocations: 0 / 0.9874 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.3687, allocations: 83.27 kB / 0.9875 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3687, allocations: 0 / 0.9875 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003315/0.3691, allocations: 20 kB / 0.9875 GB, free: 4.512 MB / 0.7136 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.0002016/0.3693, allocations: 107.2 kB / 0.9876 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002584/0.3695, allocations: 115.3 kB / 0.9877 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3695, allocations: 4 kB / 0.9877 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.3696, allocations: 11.98 kB / 0.9877 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.3698, allocations: 8 kB / 0.9877 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.3703, allocations: 231 kB / 0.988 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.3707, allocations: 0.677 MB / 0.9886 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.3707, allocations: 4 kB / 0.9886 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.3708, allocations: 7.438 kB / 0.9886 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.3708, allocations: 0 / 0.9886 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of Templates: time 0.004908/0.3757, allocations: 1.061 MB / 0.9897 GB, free: 2.227 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)