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.00123/0.00123, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001692/0.001692, allocations: 197.8 kB / 16.14 MB, free: 6.66 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.91 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3593, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002027/0.3613, allocations: 0.6631 MB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.3627, allocations: 1.12 MB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.3628, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.3628, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.3629, allocations: 3.938 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.3633, allocations: 107.4 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.3634, allocations: 79.83 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.179e-05/0.3635, allocations: 7.984 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.444e-05/0.3636, allocations: 31.97 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.3637, allocations: 27.91 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.3637, allocations: 4 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.3638, allocations: 15.98 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.3638, allocations: 7.938 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.3639, allocations: 35.83 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.364, allocations: 79.8 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3641, allocations: 0 / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3641, allocations: 0 / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.3641, allocations: 0 / 1.07 GB, free: 8.742 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.0004583/0.3645, allocations: 377.4 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3646, allocations: 12.03 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.3646, allocations: 4.938 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.3648, allocations: 168.4 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.3648, allocations: 4.375 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.3648, allocations: 4.375 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.341e-05/0.3649, allocations: 34.25 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3649, allocations: 192 / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3649, allocations: 3.938 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.365, allocations: 0 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.274e-05/0.365, allocations: 15.94 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.3654, allocations: 284.8 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.048e-05/0.3654, allocations: 22.52 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.3654, allocations: 16.89 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-06/0.3655, allocations: 0 / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.3656, allocations: 75.33 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.3656, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001723/0.3658, allocations: 57.69 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.3658, allocations: 55.41 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.3659, allocations: 109.8 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.366, allocations: 25.7 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.366, allocations: 84.14 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.366, allocations: 3.906 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.3661, allocations: 37.64 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3662, allocations: 318.8 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.327e-05/0.3663, allocations: 27.98 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-05/0.3664, allocations: 50.5 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.3665, allocations: 76.27 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3665, allocations: 7.938 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002593/0.3668, allocations: 147.2 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.3668, allocations: 39.09 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3668, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.3669, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.003e-05/0.3669, allocations: 11.94 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3669, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.3671, allocations: 31.94 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.3671, allocations: 11.98 kB / 1.072 GB, free: 6.398 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 9.068e-05/0.3672, allocations: 117.8 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.3673, allocations: 4 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.3673, allocations: 3.906 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3673, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3673, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3673, allocations: 4 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.3674, allocations: 161.6 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3674, allocations: 0 / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-06/0.3675, allocations: 4 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3675, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3675, allocations: 4 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3675, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3675, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.962e-05/0.3676, allocations: 84.91 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.3676, allocations: 85.41 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.3677, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.747e-05/0.3677, allocations: 8.281 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.3677, allocations: 4 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3677, allocations: 4 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.065e-05/0.3678, allocations: 83.27 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3678, allocations: 0 / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002191/0.368, allocations: 20 kB / 1.072 GB, free: 5.719 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.0001248/0.3681, allocations: 103.2 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.3683, allocations: 127.4 kB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3683, allocations: 0 / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/0.3684, allocations: 15.98 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.3686, allocations: 12.02 kB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.3688, allocations: 127.9 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.3691, allocations: 0.6733 MB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.3691, allocations: 11.98 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.3691, allocations: 7.438 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3691, allocations: 0 / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of Templates: time 0.003151/0.3723, allocations: 1.018 MB / 1.074 GB, free: 3.574 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)