Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_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_latest_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.008709/0.00871, allocations: 101.9 kB / 15.73 MB, free: 6 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.002133/0.002133, allocations: 196.3 kB / 16.68 MB, free: 5.926 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.91 kB / 1.054 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148/1.149, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002797/1.152, allocations: 0.5899 MB / 1.208 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00204/1.154, allocations: 1.116 MB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/1.155, allocations: 0 / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/1.155, allocations: 4 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.111e-05/1.155, allocations: 3.938 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007504/1.155, allocations: 122.5 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/1.156, allocations: 95.88 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/1.156, allocations: 4 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/1.156, allocations: 39.84 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/1.156, allocations: 31.94 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/1.156, allocations: 12 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.64e-05/1.156, allocations: 20 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/1.156, allocations: 7.922 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/1.156, allocations: 31.92 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/1.156, allocations: 71.84 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.156, allocations: 4 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.284e-06/1.156, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.157, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9356 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.0006219/1.157, allocations: 374.9 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.157, allocations: 12.03 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/1.157, allocations: 8.938 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/1.157, allocations: 176.2 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/1.158, allocations: 4.375 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/1.158, allocations: 4.375 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/1.158, allocations: 46.17 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.158, allocations: 3.938 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.158, allocations: 4 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/1.158, allocations: 0 / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/1.158, allocations: 7.984 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/1.158, allocations: 288.8 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.58e-05/1.158, allocations: 22.52 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/1.158, allocations: 12.86 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/1.158, allocations: 0 / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/1.158, allocations: 59.39 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/1.158, allocations: 4 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002183/1.159, allocations: 61.69 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/1.159, allocations: 51.41 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/1.159, allocations: 109.8 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/1.159, allocations: 25.7 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/1.159, allocations: 88.14 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/1.159, allocations: 7.891 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/1.159, allocations: 29.7 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.159, allocations: 322.8 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/1.159, allocations: 23.98 kB / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.95e-05/1.159, allocations: 46.55 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/1.159, allocations: 84.16 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.159, allocations: 4 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002783/1.16, allocations: 151.2 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/1.16, allocations: 33.7 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.16, allocations: 0 / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/1.16, allocations: 4 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.577e-05/1.16, allocations: 0 / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/1.16, allocations: 0 / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/1.16, allocations: 27.91 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/1.16, allocations: 11.98 kB / 1.212 GB, free: 9.309 MB / 0.9356 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.0001631/1.16, allocations: 121.9 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/1.16, allocations: 0 / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/1.16, allocations: 7.906 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/1.16, allocations: 4 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.16, allocations: 0 / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.16, allocations: 0 / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/1.161, allocations: 161.9 kB / 1.212 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.161, allocations: 4 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-06/1.161, allocations: 3.938 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/1.161, allocations: 8.234 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/1.161, allocations: 3.938 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.161, allocations: 0 / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.161, allocations: 0 / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/1.161, allocations: 92.94 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/1.161, allocations: 77.11 kB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/1.161, allocations: 0 / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.57e-05/1.161, allocations: 0 / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/1.161, allocations: 8 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/1.161, allocations: 3.984 kB / 1.212 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.838e-05/1.161, allocations: 83.28 kB / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.161, allocations: 0 / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002535/1.162, allocations: 20 kB / 1.212 GB, free: 8.613 MB / 0.9356 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.0002435/1.162, allocations: 99.23 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003087/1.162, allocations: 123.3 kB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/1.162, allocations: 192 / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.836e-05/1.162, allocations: 16 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/1.162, allocations: 17.64 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005194/1.163, allocations: 125 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/1.163, allocations: 0.6807 MB / 1.213 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.336e-05/1.163, allocations: 4 kB / 1.213 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/1.163, allocations: 7.438 kB / 1.213 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/1.163, allocations: 0 / 1.213 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of Templates: time 0.004868/1.168, allocations: 1.099 MB / 1.214 GB, free: 6.395 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches