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.001312/0.001312, allocations: 113.8 kB / 16.42 MB, free: 6.453 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.001251/0.001251, allocations: 187.9 kB / 17.35 MB, free: 5.703 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.503/1.503, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.835/2.835, allocations: 469.4 MB / 0.7428 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 67.89 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.044, allocations: 159.1 MB / 1.221 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002384/1.046, allocations: 0.5928 MB / 1.221 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001701/1.048, allocations: 1.116 MB / 1.223 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/1.048, allocations: 0 / 1.223 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/1.048, allocations: 0 / 1.223 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.232e-05/1.048, allocations: 7.938 kB / 1.223 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/1.049, allocations: 121.3 kB / 1.223 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/1.049, allocations: 95.88 kB / 1.223 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/1.049, allocations: 11.98 kB / 1.223 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/1.049, allocations: 39.86 kB / 1.223 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/1.049, allocations: 39.81 kB / 1.223 GB, free: 348 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/1.049, allocations: 8 kB / 1.223 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.529e-05/1.049, allocations: 15.98 kB / 1.223 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/1.049, allocations: 8 kB / 1.223 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.324e-05/1.049, allocations: 23.92 kB / 1.223 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/1.05, allocations: 83.78 kB / 1.223 GB, free: 208 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.05, allocations: 0 / 1.223 GB, free: 208 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/1.05, allocations: 0 / 1.223 GB, free: 208 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.39e-06/1.05, allocations: 0 / 1.223 GB, free: 208 kB / 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.0005729/1.05, allocations: 377 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.05, allocations: 8.625 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/1.05, allocations: 4.938 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/1.05, allocations: 172.3 kB / 1.224 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/1.05, allocations: 4.359 kB / 1.224 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/1.05, allocations: 4.375 kB / 1.224 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/1.051, allocations: 38.2 kB / 1.224 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.051, allocations: 192 / 1.224 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/1.051, allocations: 7.922 kB / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.051, allocations: 4 kB / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.106e-05/1.051, allocations: 8 kB / 1.224 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/1.051, allocations: 280.9 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.071e-05/1.051, allocations: 26.45 kB / 1.224 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/1.051, allocations: 4.859 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/1.051, allocations: 4.062 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/1.051, allocations: 63.38 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.903e-06/1.051, allocations: 0 / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002262/1.052, allocations: 69.61 kB / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/1.052, allocations: 51.41 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/1.052, allocations: 109.8 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/1.052, allocations: 37.69 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/1.052, allocations: 80.14 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/1.052, allocations: 8 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.238e-05/1.052, allocations: 29.7 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.052, allocations: 314.8 kB / 1.225 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/1.052, allocations: 27.98 kB / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/1.052, allocations: 50.73 kB / 1.225 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/1.052, allocations: 88.23 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.052, allocations: 3.938 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002504/1.053, allocations: 151.1 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/1.053, allocations: 29.7 kB / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.053, allocations: 4 kB / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.053, allocations: 3.938 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.88e-05/1.053, allocations: 0 / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/1.053, allocations: 7.984 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/1.053, allocations: 33.89 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/1.053, allocations: 4 kB / 1.225 GB, free: 13.87 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.0001028/1.053, allocations: 113.8 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/1.053, allocations: 4 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/1.053, allocations: 11.89 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.053, allocations: 0 / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.053, allocations: 0 / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/1.053, allocations: 81.02 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/1.053, allocations: 0 / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.661e-05/1.053, allocations: 8 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/1.053, allocations: 7.875 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001281/1.054, allocations: 133 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001608/1.054, allocations: 218.8 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.092e-05/1.054, allocations: 11.94 kB / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.029e-05/1.054, allocations: 87.27 kB / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of Backend: time 2.91e-07/1.054, allocations: 4 kB / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005374/1.054, allocations: 197.9 kB / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005623/1.055, allocations: 0.5799 MB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of Templates: time 0.003908/1.059, allocations: 1.081 MB / 1.227 GB, free: 11.24 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/jenkins1/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