Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_10_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_10_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.001599/0.001599, allocations: 107.9 kB / 16.41 MB, free: 6.465 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.00174/0.00174, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.489/1.489, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.922/2.922, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.00158, allocations: 71.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162/1.164, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002368/1.166, allocations: 0.7042 MB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001583/1.168, allocations: 0.8453 MB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/1.168, allocations: 3.938 kB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.579e-05/1.168, allocations: 0 / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.974e-05/1.168, allocations: 3.938 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/1.168, allocations: 31.83 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/1.168, allocations: 51.91 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/1.168, allocations: 8 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/1.169, allocations: 19.92 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.981e-05/1.169, allocations: 31.89 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/1.169, allocations: 7.938 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.766e-05/1.169, allocations: 4 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/1.169, allocations: 4 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/1.169, allocations: 27.86 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/1.169, allocations: 43.86 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.169, allocations: 0 / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.058e-06/1.169, allocations: 3.984 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.169, allocations: 0 / 1.169 GB, free: 2.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007903/1.17, allocations: 363.8 kB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/1.17, allocations: 8.031 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/1.17, allocations: 8.938 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/1.17, allocations: 168.3 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/1.17, allocations: 8.375 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/1.17, allocations: 384 / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/1.17, allocations: 69.59 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.17, allocations: 0 / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/1.17, allocations: 7.984 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.17, allocations: 0 / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/1.171, allocations: 51.94 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008314/1.172, allocations: 300.7 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/1.172, allocations: 62.53 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/1.172, allocations: 24.92 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/1.172, allocations: 4 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/1.172, allocations: 34.56 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 4.478e-06/1.172, allocations: 0 / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0006735/1.173, allocations: 117.5 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/1.173, allocations: 51.41 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/1.173, allocations: 109.8 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/1.173, allocations: 29.7 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/1.173, allocations: 92.03 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/1.173, allocations: 11.95 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/1.173, allocations: 17.7 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002482/1.173, allocations: 322.8 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/1.174, allocations: 23.97 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.229e-05/1.174, allocations: 19.98 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/1.174, allocations: 56.75 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.174, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004403/1.174, allocations: 93.53 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.174, allocations: 4 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.174, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.174, allocations: 4 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/1.175, allocations: 11.98 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/1.175, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.35e-05/1.175, allocations: 11.98 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/1.175, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 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 0.0001246/1.175, allocations: 117.8 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/1.175, allocations: 0 / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/1.175, allocations: 15.89 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.175, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.175, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/1.175, allocations: 85.33 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/1.175, allocations: 3.938 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/1.175, allocations: 15.98 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/1.175, allocations: 11.98 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003596/1.176, allocations: 168.9 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003829/1.176, allocations: 258.8 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001258/1.176, allocations: 31.91 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.735e-05/1.176, allocations: 87.22 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of Backend: time 1.373e-06/1.176, allocations: 3.938 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000539/1.177, allocations: 110.4 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008776/1.178, allocations: 0.5687 MB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.003881/1.182, allocations: 0.9929 MB / 1.173 GB, free: 13.27 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches