Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.002189/0.002189, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.505/1.505, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.899/2.899, allocations: 469.4 MB / 0.7428 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 60.14 kB / 1.066 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185/1.187, allocations: 159.1 MB / 1.221 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002366/1.189, allocations: 0.6998 MB / 1.222 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001246/1.191, allocations: 0.8429 MB / 1.222 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/1.191, allocations: 0 / 1.222 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.055e-05/1.191, allocations: 3.938 kB / 1.222 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/1.191, allocations: 3.938 kB / 1.222 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/1.191, allocations: 23.95 kB / 1.222 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/1.191, allocations: 51.84 kB / 1.222 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/1.191, allocations: 8 kB / 1.222 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/1.191, allocations: 27.92 kB / 1.223 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.244e-05/1.192, allocations: 27.89 kB / 1.223 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/1.192, allocations: 4 kB / 1.223 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/1.192, allocations: 4 kB / 1.223 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/1.192, allocations: 4 kB / 1.223 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/1.192, allocations: 23.86 kB / 1.223 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/1.192, allocations: 51.78 kB / 1.223 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/1.192, allocations: 8 kB / 1.223 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.324e-06/1.192, allocations: 0 / 1.223 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.192, allocations: 0 / 1.223 GB, free: 0.5781 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006566/1.193, allocations: 347.3 kB / 1.223 GB, free: 200 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/1.193, allocations: 16.61 kB / 1.223 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/1.193, allocations: 4.844 kB / 1.223 GB, free: 180 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/1.193, allocations: 172.3 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/1.193, allocations: 4.375 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/1.193, allocations: 8.312 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/1.193, allocations: 65.59 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.193, allocations: 0 / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/1.193, allocations: 8 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.193, allocations: 0 / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/1.193, allocations: 55.88 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/1.194, allocations: 286.6 kB / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/1.194, allocations: 62.55 kB / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/1.194, allocations: 40.84 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/1.194, allocations: 0 / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/1.194, allocations: 34.5 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/1.194, allocations: 0 / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004815/1.195, allocations: 105.5 kB / 1.224 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/1.195, allocations: 59.41 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/1.195, allocations: 109.8 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/1.195, allocations: 25.7 kB / 1.224 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/1.195, allocations: 88.12 kB / 1.224 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/1.195, allocations: 11.84 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/1.195, allocations: 17.72 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.195, allocations: 318.8 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/1.195, allocations: 27.92 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/1.196, allocations: 23.97 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/1.196, allocations: 56.81 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.196, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000242/1.196, allocations: 81.55 kB / 1.225 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.196, allocations: 8 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.196, allocations: 4 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.196, allocations: 0 / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/1.196, allocations: 11.98 kB / 1.225 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.196, allocations: 0 / 1.225 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.787e-05/1.196, allocations: 15.92 kB / 1.225 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/1.196, allocations: 0 / 1.225 GB, free: 14.33 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001061/1.196, allocations: 114.6 kB / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/1.196, allocations: 7.938 kB / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/1.197, allocations: 11.91 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.197, allocations: 3.984 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.197, allocations: 0 / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/1.197, allocations: 85 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/1.197, allocations: 7.938 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/1.197, allocations: 8 kB / 1.225 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/1.197, allocations: 11.98 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003327/1.197, allocations: 168.9 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004244/1.198, allocations: 258.7 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001298/1.198, allocations: 31.97 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.944e-05/1.198, allocations: 91.2 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of Backend: time 3.8e-07/1.198, allocations: 0 / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004587/1.198, allocations: 112.8 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006579/1.199, allocations: 0.5804 MB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of Templates: time 0.003727/1.203, allocations: 0.9958 MB / 1.227 GB, free: 11.75 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches