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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001394/0.001394, allocations: 108.8 kB / 16.41 MB, free: 6.43 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.001444/0.001444, allocations: 189.5 kB / 17.35 MB, free: 5.707 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.396/1.396, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.566/2.566, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 63.91 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9221/0.9234, 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.002571/0.926, allocations: 0.5828 MB / 1.209 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.9276, allocations: 1.123 MB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.9277, allocations: 0 / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.9278, allocations: 3.938 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.9279, allocations: 3.938 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.9285, allocations: 122.2 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.9287, allocations: 95.88 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.9288, allocations: 4 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.929, allocations: 35.91 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.9291, allocations: 35.88 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.9291, allocations: 8 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.9292, allocations: 23.98 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.9293, allocations: 4 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.9293, allocations: 27.92 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.9296, allocations: 87.72 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9296, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9296, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.9296, 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.0006099/0.9302, allocations: 375 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.9303, allocations: 8.031 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.9304, allocations: 4.938 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.9305, allocations: 172.3 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.9305, allocations: 4.375 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.9306, allocations: 12.38 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.945e-05/0.9307, allocations: 34.25 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.9307, allocations: 192 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.9307, allocations: 7.938 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.9307, allocations: 0 / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.975e-05/0.9308, allocations: 15.91 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.9312, allocations: 284.8 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/0.9312, allocations: 26.52 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.9313, allocations: 8.922 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.9313, allocations: 0 / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.9314, allocations: 63.33 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.9314, allocations: 0 / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001932/0.9316, allocations: 61.69 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.9316, allocations: 51.41 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.591e-05/0.9318, allocations: 109.8 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.9318, allocations: 29.7 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.9318, allocations: 92.06 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/0.9319, allocations: 3.906 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.9319, allocations: 29.7 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.932, allocations: 314.8 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.9321, allocations: 27.98 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.873e-05/0.9322, allocations: 58.48 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.9323, allocations: 72.28 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9323, allocations: 7.938 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002273/0.9325, allocations: 151.1 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.9326, allocations: 33.7 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.9326, allocations: 0 / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.9326, allocations: 4.094 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.909e-05/0.9326, allocations: 7.938 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.9327, allocations: 0 / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.9329, allocations: 23.97 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.9329, 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 9.264e-05/0.933, allocations: 117.8 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.933, allocations: 0 / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.933, allocations: 7.906 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.933, allocations: 4 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.9331, allocations: 4 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.9331, allocations: 85 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.9331, allocations: 320 / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.378e-05/0.9331, allocations: 0 / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.9332, allocations: 11.94 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001086/0.9333, allocations: 128.9 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001478/0.9335, allocations: 235.1 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.574e-05/0.9335, allocations: 4 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.9335, allocations: 87.27 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of Backend: time 2.51e-07/0.9335, allocations: 0 / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004878/0.934, allocations: 193.7 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005341/0.9346, allocations: 0.5732 MB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of Templates: time 0.003527/0.9381, allocations: 1.1 MB / 1.215 GB, free: 6.664 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/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