Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 109.4 kB / 16.42 MB, free: 6.5 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.002312/0.002312, allocations: 194.5 kB / 17.35 MB, free: 5.762 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.416/1.416, 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.706/2.706, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 63.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.028, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002006/1.03, allocations: 0.6993 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001061/1.031, allocations: 0.839 MB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/1.031, allocations: 0 / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/1.031, allocations: 3.938 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.79e-05/1.032, allocations: 11.92 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/1.032, allocations: 19.97 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/1.032, allocations: 47.91 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/1.032, allocations: 8 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.639e-05/1.032, allocations: 27.91 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.982e-05/1.032, allocations: 23.91 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/1.032, allocations: 4 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/1.032, allocations: 7.938 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/1.032, allocations: 8 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/1.032, allocations: 23.86 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/1.032, allocations: 51.8 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.032, allocations: 4 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.697e-06/1.032, allocations: 3.984 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.689e-06/1.032, allocations: 0 / 1.21 GB, free: 11.83 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.0005523/1.033, allocations: 351.2 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.033, allocations: 8.031 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/1.033, allocations: 12.78 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/1.033, allocations: 164.4 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/1.033, allocations: 8.375 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/1.033, allocations: 384 / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/1.033, allocations: 69.59 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.033, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/1.033, allocations: 3.938 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/1.033, allocations: 4 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/1.034, allocations: 59.92 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/1.034, allocations: 290.6 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/1.034, allocations: 66.47 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/1.034, allocations: 28.92 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/1.034, allocations: 4 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/1.034, allocations: 34.56 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/1.034, allocations: 0 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.000402/1.035, allocations: 105.6 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/1.035, allocations: 55.34 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/1.035, allocations: 109.8 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/1.035, allocations: 29.7 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/1.035, allocations: 92.05 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/1.035, allocations: 7.844 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/1.035, allocations: 21.7 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.035, allocations: 322.7 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/1.035, allocations: 23.97 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.962e-05/1.036, allocations: 19.98 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/1.036, allocations: 56.81 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.036, allocations: 0 / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002386/1.036, allocations: 85.55 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.036, allocations: 4 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.036, allocations: 4.328 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/1.036, allocations: 0 / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/1.036, allocations: 15.92 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/1.036, allocations: 4 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.868e-05/1.036, allocations: 11.98 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/1.036, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 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,intLesThr.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 7.729e-05/1.036, allocations: 117.8 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/1.036, allocations: 0 / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/1.036, allocations: 15.89 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/1.036, allocations: 0 / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.036, allocations: 0 / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/1.036, allocations: 85.02 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/1.036, allocations: 3.938 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/1.037, allocations: 15.92 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/1.037, allocations: 11.98 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003288/1.037, allocations: 164.9 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002992/1.037, allocations: 262.7 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001115/1.037, allocations: 31.97 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.141e-05/1.037, allocations: 87.22 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of Backend: time 1.062e-05/1.037, allocations: 0 / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004248/1.038, allocations: 112.7 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005262/1.038, allocations: 0.5883 MB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of Templates: time 0.003138/1.042, allocations: 1.008 MB / 1.215 GB, free: 6.984 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches