Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 106.1 kB / 16.41 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.001365/0.001365, allocations: 189.6 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.621/2.621, allocations: 461.7 MB / 0.7352 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001467, allocations: 67.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.078, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.00219/1.081, allocations: 0.7029 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001199/1.082, allocations: 0.8391 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/1.082, allocations: 0 / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/1.082, allocations: 7.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.903e-05/1.082, allocations: 3.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/1.082, allocations: 27.89 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.483e-05/1.082, allocations: 39.92 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/1.083, allocations: 15.98 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/1.083, allocations: 23.86 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.674e-05/1.083, allocations: 27.91 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/1.083, allocations: 4 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/1.083, allocations: 8 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/1.083, allocations: 11.92 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/1.083, allocations: 19.86 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/1.083, allocations: 47.86 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/1.083, allocations: 4 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/1.083, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.127e-06/1.083, allocations: 0 / 1.21 GB, free: 11.89 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.0005789/1.084, allocations: 347.2 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.084, allocations: 16.03 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/1.084, allocations: 4.844 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/1.084, allocations: 172.4 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/1.084, allocations: 8.312 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/1.084, allocations: 8.312 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/1.084, allocations: 69.58 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/1.084, allocations: 0 / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/1.084, allocations: 4 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.084, allocations: 0 / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/1.084, allocations: 55.95 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/1.085, allocations: 294.5 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/1.085, allocations: 62.48 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/1.085, allocations: 32.91 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/1.085, allocations: 4 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/1.085, allocations: 30.56 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/1.085, allocations: 0 / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004227/1.086, allocations: 109.6 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/1.086, allocations: 51.41 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/1.086, allocations: 113.8 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/1.086, allocations: 25.7 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/1.086, allocations: 92.03 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/1.086, allocations: 11.84 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/1.086, allocations: 17.72 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.086, allocations: 322.8 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-05/1.086, allocations: 19.98 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.311e-05/1.086, allocations: 27.97 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/1.087, allocations: 52.81 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.087, allocations: 0 / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002334/1.087, allocations: 85.5 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.087, allocations: 10.19 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.087, allocations: 0 / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.087, allocations: 3.984 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/1.087, allocations: 15.98 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/1.087, allocations: 0 / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7e-05/1.087, allocations: 7.938 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/1.087, allocations: 3.984 kB / 1.212 GB, free: 9.637 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,intGreEquThr.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.0001003/1.087, allocations: 121.7 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/1.087, allocations: 4 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/1.087, allocations: 3.906 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.087, allocations: 336 / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.087, allocations: 4 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/1.087, allocations: 81.02 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/1.087, allocations: 11.94 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/1.088, allocations: 7.984 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/1.088, allocations: 15.97 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000335/1.088, allocations: 164.8 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003308/1.088, allocations: 262.8 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001087/1.088, allocations: 27.97 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.751e-05/1.089, allocations: 87.22 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of Backend: time 6.41e-07/1.089, allocations: 0 / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004659/1.089, allocations: 118.3 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006263/1.09, allocations: 0.5804 MB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of Templates: time 0.003722/1.093, allocations: 0.9841 MB / 1.214 GB, free: 7.07 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches