Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00152/0.00152, allocations: 115.1 kB / 16.42 MB, free: 6.508 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.001572/0.001572, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 67.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105/1.106, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002135/1.109, allocations: 0.5935 MB / 1.168 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001628/1.11, allocations: 1.119 MB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/1.11, allocations: 4 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/1.11, allocations: 3.938 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.316e-05/1.11, allocations: 3.938 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/1.111, allocations: 126.1 kB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001509/1.111, allocations: 87.89 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.987e-05/1.111, allocations: 11.97 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.206e-05/1.111, allocations: 35.92 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.436e-05/1.111, allocations: 27.95 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/1.111, allocations: 8 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.071e-05/1.112, allocations: 31.91 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/1.112, allocations: 4 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/1.112, allocations: 23.92 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/1.112, allocations: 83.78 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.112, allocations: 4 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/1.112, allocations: 3.938 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.09e-06/1.112, allocations: 0 / 1.169 GB, free: 1.672 MB / 0.8887 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.0004848/1.112, allocations: 377.7 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/1.112, allocations: 8.031 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/1.112, allocations: 8.891 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/1.113, allocations: 168.4 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/1.113, allocations: 384 / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/1.113, allocations: 8.375 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.08e-05/1.113, allocations: 42.25 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/1.113, allocations: 192 / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.113, allocations: 3.938 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/1.113, allocations: 0 / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.395e-05/1.113, allocations: 7.938 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/1.113, allocations: 284.8 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.388e-05/1.113, allocations: 26.5 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/1.113, allocations: 16.92 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-06/1.113, allocations: 0 / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/1.113, allocations: 63.33 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.844e-06/1.113, allocations: 3.938 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0001751/1.114, allocations: 61.62 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/1.114, allocations: 55.41 kB / 1.17 GB, free: 380 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.919e-05/1.114, allocations: 105.8 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/1.114, allocations: 33.7 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/1.114, allocations: 80.14 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/1.114, allocations: 15.94 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/1.114, allocations: 29.7 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.114, allocations: 310.8 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/1.114, allocations: 31.97 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.774e-05/1.114, allocations: 50.81 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/1.114, allocations: 84.27 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.114, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002501/1.115, allocations: 147.2 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/1.115, allocations: 37.7 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/1.115, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.115, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.882e-05/1.115, allocations: 11.95 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.115, allocations: 8 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/1.115, allocations: 27.92 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/1.115, allocations: 4 kB / 1.171 GB, free: 15.34 MB / 0.9044 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.557e-05/1.115, allocations: 117.8 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/1.115, allocations: 4 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/1.115, allocations: 7.891 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/1.115, allocations: 0 / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/1.115, allocations: 4 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/1.115, allocations: 81.06 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/1.115, allocations: 4 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.432e-05/1.115, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/1.115, allocations: 3.938 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001235/1.115, allocations: 136.9 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001605/1.116, allocations: 219.1 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.363e-05/1.116, allocations: 24.02 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.952e-05/1.116, allocations: 83.28 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of Backend: time 5.21e-07/1.116, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005053/1.116, allocations: 194 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005205/1.117, allocations: 0.573 MB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of Templates: time 0.003836/1.121, allocations: 1.091 MB / 1.174 GB, free: 12.7 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches