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.007566/0.007566, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.001674/0.001674, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.797/2.797, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3795, allocations: 157.4 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002034/0.3816, allocations: 0.5983 MB / 1.208 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.3833, allocations: 1.104 MB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.3834, allocations: 0 / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.3834, allocations: 7.938 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.121e-05/0.3835, allocations: 11.92 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.3841, allocations: 119.1 kB / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.3843, allocations: 83.89 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3844, allocations: 15.98 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.3845, allocations: 35.91 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3846, allocations: 27.91 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.3847, allocations: 8 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.974e-05/0.3848, allocations: 23.97 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.3848, allocations: 4 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.3849, allocations: 31.91 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.3851, allocations: 83.73 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3851, allocations: 0 / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3851, allocations: 4 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.3851, allocations: 4 kB / 1.21 GB, free: 7.492 MB / 0.9669 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.0006285/0.3857, allocations: 375.3 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3858, allocations: 12.62 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.3858, allocations: 8.922 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.386, allocations: 164.3 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.386, allocations: 4.375 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.3861, allocations: 4.375 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.3862, allocations: 42.25 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3862, allocations: 192 / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3862, allocations: 3.938 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3862, allocations: 0 / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.959e-05/0.3863, allocations: 4 kB / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.3867, allocations: 288.8 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.09e-05/0.3868, allocations: 26.5 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.3869, allocations: 8.922 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.3869, allocations: 4 kB / 1.211 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.387, allocations: 67.33 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.387, allocations: 0 / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001921/0.3872, allocations: 57.69 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.3873, allocations: 55.41 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.349e-05/0.3874, allocations: 105.8 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.3874, allocations: 29.64 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.3875, allocations: 96.05 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.3875, allocations: 3.984 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.3875, allocations: 29.7 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3877, allocations: 314.8 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/0.3877, allocations: 31.98 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.3878, allocations: 46.5 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.3879, allocations: 84.27 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.388, allocations: 7.875 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002211/0.3882, allocations: 143.2 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.3882, allocations: 41.69 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3882, allocations: 0 / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3883, allocations: 0 / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.606e-05/0.3883, allocations: 4 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3883, allocations: 8.031 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.3885, allocations: 28.14 kB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.3885, allocations: 4 kB / 1.212 GB, free: 5.164 MB / 0.9669 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.233e-05/0.3886, allocations: 121.8 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-06/0.3887, allocations: 4 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.3887, allocations: 7.891 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3887, allocations: 0 / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3887, allocations: 0 / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3887, allocations: 8 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.3888, allocations: 165.6 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3889, allocations: 0 / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-06/0.3889, allocations: 0 / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3889, allocations: 0 / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3889, allocations: 4 kB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3889, allocations: 0 / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3889, allocations: 0 / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.389, allocations: 89.22 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.3891, allocations: 85.09 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.3891, allocations: 0 / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.532e-05/0.3891, allocations: 4 kB / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.3891, allocations: 0 / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.3891, allocations: 4 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.085e-05/0.3892, allocations: 87.27 kB / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3892, allocations: 0 / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002001/0.3894, allocations: 16 kB / 1.212 GB, free: 4.477 MB / 0.9669 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.0001475/0.3896, allocations: 99.25 kB / 1.212 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3898, allocations: 123.3 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3898, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.481e-05/0.3899, allocations: 19.92 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.3901, allocations: 13.59 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.3904, allocations: 118.5 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.3908, allocations: 0.6886 MB / 1.213 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.3908, allocations: 3.984 kB / 1.213 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.3908, allocations: 11.44 kB / 1.213 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.3908, allocations: 0 / 1.213 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of Templates: time 0.003752/0.3946, allocations: 1.07 MB / 1.214 GB, free: 2.277 MB / 0.9669 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