Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_9_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.0008854/0.0008855, 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.008293/0.008294, allocations: 170 kB / 16.26 MB, free: 6.613 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.447/1.447, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.618/2.618, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000452/0.0004518, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7621/0.7625, allocations: 142.4 MB / 0.955 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0008618/0.7634, allocations: 333.5 kB / 0.9554 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.7648, allocations: 1.108 MB / 0.9564 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.7648, allocations: 0 / 0.9564 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.7649, allocations: 1 kB / 0.9564 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.676e-05/0.7649, allocations: 3.938 kB / 0.9565 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.7654, allocations: 116.7 kB / 0.9566 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.7655, allocations: 83 kB / 0.9566 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.614e-05/0.7656, allocations: 7.844 kB / 0.9566 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.7656, allocations: 27.05 kB / 0.9567 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.964e-05/0.7657, allocations: 22.88 kB / 0.9567 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.7657, allocations: 4.094 kB / 0.9567 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.148e-05/0.7658, allocations: 18.14 kB / 0.9567 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.7658, allocations: 10.3 kB / 0.9567 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.7659, allocations: 55.11 kB / 0.9568 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.766, allocations: 70.72 kB / 0.9568 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.7661, allocations: 1.375 kB / 0.9568 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7661, allocations: 0 / 0.9568 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.7661, allocations: 0 / 0.9568 GB, free: 6.441 MB / 0.7169 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.0003732/0.7664, allocations: 358.3 kB / 0.9572 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.7665, allocations: 8.594 kB / 0.9572 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.7665, allocations: 5.094 kB / 0.9572 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.427e-05/0.7666, allocations: 174.6 kB / 0.9574 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.7667, allocations: 14.72 kB / 0.9574 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.7667, allocations: 5 kB / 0.9574 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.08e-05/0.7668, allocations: 39.03 kB / 0.9574 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.7668, allocations: 192 / 0.9574 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.7668, allocations: 5.156 kB / 0.9574 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7668, allocations: 0 / 0.9574 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.372e-05/0.7668, allocations: 7.531 kB / 0.9574 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.7672, allocations: 282.1 kB / 0.9577 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.03e-05/0.7672, allocations: 29.23 kB / 0.9577 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.562e-05/0.7673, allocations: 11.22 kB / 0.9577 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.7673, allocations: 3.984 kB / 0.9577 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.7674, allocations: 55.16 kB / 0.9578 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.7674, allocations: 0 / 0.9578 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000183/0.7676, allocations: 68.3 kB / 0.9579 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.7676, allocations: 55.41 kB / 0.9579 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.7677, allocations: 114.5 kB / 0.958 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.7677, allocations: 30.89 kB / 0.9581 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.7678, allocations: 84.17 kB / 0.9581 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.7678, allocations: 3.938 kB / 0.9581 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.7678, allocations: 18.28 kB / 0.9582 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.7679, allocations: 316.5 kB / 0.9585 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.768, allocations: 30.52 kB / 0.9585 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.768, allocations: 47.12 kB / 0.9585 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.743e-05/0.7681, allocations: 89.31 kB / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7681, allocations: 3.938 kB / 0.9586 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002254/0.7684, allocations: 141.5 kB / 0.9588 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.7684, allocations: 42.44 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7684, allocations: 1.5 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.7684, allocations: 5.562 kB / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.565e-05/0.7684, allocations: 0 / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7685, allocations: 1.438 kB / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.7687, allocations: 33.88 kB / 0.9588 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.7687, allocations: 8.859 kB / 0.9588 GB, free: 4.383 MB / 0.7169 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 6.318e-05/0.7688, allocations: 122.1 kB / 0.959 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.7688, allocations: 2.219 kB / 0.959 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.7688, allocations: 4.969 kB / 0.959 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7688, allocations: 3.938 kB / 0.959 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7689, allocations: 1.281 kB / 0.959 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7689, allocations: 0 / 0.959 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.729e-05/0.7689, allocations: 167.8 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.769, allocations: 0 / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-06/0.769, allocations: 3.938 kB / 0.9591 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.769, allocations: 5.75 kB / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.769, allocations: 0 / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.769, allocations: 1.125 kB / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.769, allocations: 0 / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.387e-05/0.7691, allocations: 87.11 kB / 0.9592 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.7691, allocations: 78.92 kB / 0.9593 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.7691, allocations: 0 / 0.9593 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.47e-05/0.7691, allocations: 1.719 kB / 0.9593 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.7692, allocations: 4 kB / 0.9593 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.7692, allocations: 1.844 kB / 0.9593 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.68e-05/0.7692, allocations: 89.05 kB / 0.9594 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7692, allocations: 0 / 0.9594 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002042/0.7694, allocations: 14.56 kB / 0.9594 GB, free: 3.762 MB / 0.7169 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.0001188/0.7695, allocations: 101.6 kB / 0.9595 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.7697, allocations: 118.7 kB / 0.9596 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7698, allocations: 5.281 kB / 0.9596 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-05/0.7698, allocations: 15.09 kB / 0.9596 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.77, allocations: 21.44 kB / 0.9597 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.7702, allocations: 132.8 kB / 0.9598 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.308e-05/0.7703, allocations: 0.6823 MB / 0.9605 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.696e-05/0.7704, allocations: 2.75 kB / 0.9605 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.232e-05/0.7704, allocations: 12.81 kB / 0.9605 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7704, allocations: 0 / 0.9605 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of Templates: time 0.003251/0.7736, allocations: 1.017 MB / 0.9615 GB, free: 2.184 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches