Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_10_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_10_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.001516/0.001516, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001609/0.001609, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.452/1.452, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.575/2.575, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 59.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.095, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002275/1.097, allocations: 0.723 MB / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001095/1.098, allocations: 0.8375 MB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/1.098, allocations: 4 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/1.098, allocations: 3.938 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.668e-05/1.098, allocations: 3.938 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/1.099, allocations: 27.91 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.032e-05/1.099, allocations: 47.91 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/1.099, allocations: 11.98 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/1.099, allocations: 19.92 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.845e-05/1.099, allocations: 27.91 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/1.099, allocations: 4 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.528e-05/1.099, allocations: 4 kB / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/1.099, allocations: 15.92 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/1.099, allocations: 19.92 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/1.099, allocations: 47.8 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.099, allocations: 0 / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.373e-06/1.099, allocations: 0 / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.35e-06/1.099, allocations: 0 / 1.169 GB, free: 2.062 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.0005234/1.1, allocations: 355.2 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/1.1, allocations: 8.031 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/1.1, allocations: 8.844 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.1, allocations: 176.3 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/1.1, allocations: 384 / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/1.1, allocations: 8.375 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/1.1, allocations: 65.59 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/1.1, allocations: 0 / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/1.1, allocations: 0 / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.1, allocations: 4 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/1.101, allocations: 43.95 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/1.101, allocations: 302.5 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/1.101, allocations: 58.55 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/1.101, allocations: 32.91 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/1.101, allocations: 0 / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/1.101, allocations: 38.56 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/1.101, allocations: 0 / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004367/1.102, allocations: 105.6 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/1.102, allocations: 55.34 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/1.102, allocations: 117.8 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/1.102, allocations: 25.7 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/1.102, allocations: 96.03 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/1.102, allocations: 11.84 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/1.102, allocations: 17.72 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.102, allocations: 322.8 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/1.102, allocations: 19.98 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/1.103, allocations: 24.02 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/1.103, allocations: 56.77 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.103, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002594/1.103, allocations: 85.5 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/1.103, allocations: 11.98 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/1.103, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/1.103, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/1.103, allocations: 11.98 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.103, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.863e-05/1.103, allocations: 12 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/1.103, allocations: 4.312 kB / 1.171 GB, free: 15.81 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,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.0001154/1.103, allocations: 117.8 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/1.104, allocations: 3.984 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/1.104, allocations: 11.91 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.104, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/1.104, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/1.104, allocations: 81.02 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/1.104, allocations: 11.92 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/1.104, allocations: 4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/1.104, allocations: 15.92 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003399/1.104, allocations: 168.9 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003249/1.105, allocations: 254.8 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001204/1.105, allocations: 35.91 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.288e-05/1.105, allocations: 91.2 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of Backend: time 2.8e-07/1.105, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005077/1.105, allocations: 112.9 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006955/1.106, allocations: 0.5687 MB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of Templates: time 0.003462/1.109, allocations: 0.9882 MB / 1.173 GB, free: 13.26 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches