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 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="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.008746/0.008746, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001362/0.001362, allocations: 195.1 kB / 16.67 MB, free: 5.969 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 472.6 MB / 0.7453 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.84 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9535/0.9555, allocations: 159.9 MB / 1.226 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002401/0.958, allocations: 0.5923 MB / 1.226 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.9594, allocations: 1.112 MB / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.9595, allocations: 0 / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.9595, allocations: 3.938 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.623e-05/0.9596, allocations: 7.938 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.96, allocations: 130.6 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.9602, allocations: 91.81 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.729e-05/0.9603, allocations: 11.98 kB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.084e-05/0.9604, allocations: 31.98 kB / 1.228 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.79e-05/0.9604, allocations: 31.89 kB / 1.228 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.9605, allocations: 8 kB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.349e-05/0.9605, allocations: 23.97 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.9606, allocations: 4 kB / 1.228 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.9606, allocations: 27.92 kB / 1.228 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.9608, allocations: 83.78 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.9608, allocations: 3.938 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9608, allocations: 0 / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.9608, allocations: 4 kB / 1.228 GB, free: 11.52 MB / 0.9512 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.0004121/0.9612, allocations: 374.1 kB / 1.228 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.9613, allocations: 8.031 kB / 1.228 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.9613, allocations: 8.891 kB / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.9614, allocations: 168.4 kB / 1.228 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.9614, allocations: 4.375 kB / 1.228 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.9615, allocations: 8.312 kB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.439e-05/0.9615, allocations: 30.27 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.9616, allocations: 4.188 kB / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.9616, allocations: 11.92 kB / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.9616, allocations: 0 / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.141e-05/0.9616, allocations: 8 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.962, allocations: 288.8 kB / 1.229 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.703e-05/0.962, allocations: 22.52 kB / 1.229 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.9621, allocations: 4.859 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.9621, allocations: 0 / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.9622, allocations: 67.41 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.9622, allocations: 3.938 kB / 1.229 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0001689/0.9624, allocations: 65.67 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.9625, allocations: 51.41 kB / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.9626, allocations: 113.8 kB / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.9626, allocations: 25.7 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.9627, allocations: 92.12 kB / 1.229 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.9627, allocations: 3.953 kB / 1.229 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.9628, allocations: 29.7 kB / 1.229 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.963, allocations: 322.8 kB / 1.229 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.9631, allocations: 23.98 kB / 1.229 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.741e-05/0.9632, allocations: 54.55 kB / 1.229 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.9633, allocations: 84.44 kB / 1.23 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.9634, allocations: 3.938 kB / 1.23 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000246/0.9636, allocations: 147.2 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.9637, allocations: 33.7 kB / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.9637, allocations: 4 kB / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.9637, allocations: 0 / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.245e-05/0.9637, allocations: 7.984 kB / 1.23 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.9637, allocations: 7.922 kB / 1.23 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.964, allocations: 28.06 kB / 1.23 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.964, allocations: 8 kB / 1.23 GB, free: 9.172 MB / 0.9512 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.000107/0.9641, allocations: 117.8 kB / 1.23 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.9641, allocations: 0 / 1.23 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.9642, allocations: 11.89 kB / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.9642, allocations: 0 / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9642, allocations: 0 / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.9642, allocations: 0 / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.9644, allocations: 161.6 kB / 1.23 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.9644, allocations: 0 / 1.23 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.21e-05/0.9644, allocations: 4 kB / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.9644, allocations: 0 / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.9644, allocations: 8.234 kB / 1.23 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9644, allocations: 0 / 1.23 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9644, allocations: 4 kB / 1.23 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.9645, allocations: 88.95 kB / 1.23 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.9646, allocations: 81.11 kB / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.9646, allocations: 0 / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.447e-05/0.9646, allocations: 0 / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.9647, allocations: 11.98 kB / 1.23 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.9647, allocations: 0 / 1.23 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.9647, allocations: 79.28 kB / 1.23 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9647, allocations: 0 / 1.23 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002124/0.965, allocations: 20 kB / 1.23 GB, free: 8.492 MB / 0.9512 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.0001503/0.9651, allocations: 111.2 kB / 1.23 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.9654, allocations: 123.3 kB / 1.231 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9654, allocations: 0 / 1.231 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.9654, allocations: 8 kB / 1.231 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.9656, allocations: 17.02 kB / 1.231 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.966, allocations: 133.6 kB / 1.231 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.9663, allocations: 0.6808 MB / 1.231 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.122e-05/0.9663, allocations: 4 kB / 1.231 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.9663, allocations: 11.44 kB / 1.231 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.9664, allocations: 0 / 1.231 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of Templates: time 0.003698/0.9701, allocations: 1.065 MB / 1.232 GB, free: 6.293 MB / 0.9512 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