Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 111.4 kB / 16.42 MB, free: 6.469 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.002294/0.002295, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.503/1.503, 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.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 63.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, 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.Less): time 0.004322/1.06, allocations: 1.987 MB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002382/1.062, allocations: 1.196 MB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/1.063, allocations: 7.938 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005433/1.063, allocations: 159.4 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004858/1.064, allocations: 159.4 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/1.065, allocations: 226.8 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005444/1.065, allocations: 307.2 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/1.065, allocations: 48.38 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/1.066, allocations: 151.4 kB / 1.213 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/1.066, allocations: 151.4 kB / 1.213 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/1.066, allocations: 12 kB / 1.213 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/1.066, allocations: 63.95 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/1.066, allocations: 87.69 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/1.067, allocations: 127.1 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005474/1.067, allocations: 368.4 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.067, allocations: 0 / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.453e-06/1.067, allocations: 3.938 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.153e-05/1.067, allocations: 0 / 1.213 GB, free: 8.602 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00126/1.068, allocations: 0.6224 MB / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.068, allocations: 12.02 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/1.069, allocations: 32.56 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/1.069, allocations: 382 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/1.069, allocations: 4 kB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/1.069, allocations: 8 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/1.07, allocations: 103.5 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.07, allocations: 0 / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/1.07, allocations: 11.97 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.07, allocations: 4 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/1.07, allocations: 55.97 kB / 1.215 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008936/1.071, allocations: 0.5002 MB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/1.071, allocations: 138.6 kB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/1.071, allocations: 52.83 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/1.071, allocations: 4 kB / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/1.071, allocations: 114.7 kB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.365e-06/1.071, allocations: 0 / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005687/1.072, allocations: 225.3 kB / 1.216 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/1.072, allocations: 51.41 kB / 1.216 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/1.073, allocations: 0.5132 MB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/1.073, allocations: 29.7 kB / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/1.073, allocations: 160.4 kB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/1.073, allocations: 43.53 kB / 1.216 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/1.073, allocations: 69.88 kB / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.073, allocations: 346.8 kB / 1.217 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/1.073, allocations: 96.52 kB / 1.217 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/1.074, allocations: 135.6 kB / 1.217 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/1.074, allocations: 184.2 kB / 1.217 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.074, allocations: 4 kB / 1.217 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005626/1.075, allocations: 317.2 kB / 1.217 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/1.075, allocations: 8.062 kB / 1.217 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.075, allocations: 7.938 kB / 1.217 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.075, allocations: 0 / 1.217 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/1.075, allocations: 55.84 kB / 1.217 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.075, allocations: 0 / 1.217 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/1.075, allocations: 23.83 kB / 1.217 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/1.075, allocations: 12 kB / 1.218 GB, free: 4.09 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002005/1.075, allocations: 185.7 kB / 1.218 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/1.075, allocations: 39.52 kB / 1.218 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.131e-05/1.076, allocations: 43.06 kB / 1.218 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.076, allocations: 0 / 1.218 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.076, allocations: 0 / 1.218 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.36e-05/1.076, allocations: 108.7 kB / 1.218 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/1.076, allocations: 7.984 kB / 1.218 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/1.076, allocations: 8 kB / 1.218 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/1.076, allocations: 19.97 kB / 1.218 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004265/1.076, allocations: 228.9 kB / 1.218 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004359/1.077, allocations: 362.3 kB / 1.218 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001384/1.077, allocations: 63.45 kB / 1.219 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003366/1.077, allocations: 311.1 kB / 1.219 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of Backend: time 3.7e-07/1.077, allocations: 4 kB / 1.219 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001988/1.079, allocations: 0.5626 MB / 1.219 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001331/1.081, allocations: 0.9995 MB / 1.22 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of Templates: time 0.009478/1.09, allocations: 4.22 MB / 1.224 GB, free: 13.06 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches