Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_9_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_9_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.008627/0.008627, allocations: 102.6 kB / 15.73 MB, free: 6.039 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.001574/0.001574, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.89 kB / 0.9509 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.028, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003762/1.032, allocations: 1.999 MB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002142/1.034, allocations: 1.198 MB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/1.034, allocations: 6.969 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005037/1.035, allocations: 159.2 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003818/1.035, allocations: 156.6 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/1.036, allocations: 222.4 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004986/1.036, allocations: 312.2 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/1.036, allocations: 60.14 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/1.037, allocations: 152.9 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/1.037, allocations: 144.3 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/1.037, allocations: 18.47 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/1.037, allocations: 59.64 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/1.037, allocations: 90.41 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/1.038, allocations: 124.2 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005975/1.038, allocations: 371 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.038, allocations: 3.938 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.795e-06/1.038, allocations: 1.766 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.397e-05/1.038, allocations: 0 / 1.093 GB, free: 2.484 MB / 0.8575 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.001093/1.039, allocations: 0.6163 MB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/1.039, allocations: 13.47 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.118e-05/1.039, allocations: 32.77 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/1.04, allocations: 379 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/1.04, allocations: 12.67 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/1.04, allocations: 5.75 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/1.04, allocations: 106.3 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.04, allocations: 0.75 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/1.04, allocations: 0.75 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/1.04, allocations: 6.094 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/1.041, allocations: 62.39 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000846/1.042, allocations: 0.4909 MB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/1.042, allocations: 139.2 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/1.042, allocations: 50.78 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/1.042, allocations: 4.047 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/1.042, allocations: 104 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/1.042, allocations: 0 / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005955/1.043, allocations: 229.5 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/1.043, allocations: 57.25 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007281/1.044, allocations: 0.5108 MB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/1.044, allocations: 30.3 kB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/1.044, allocations: 164.2 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/1.044, allocations: 37.7 kB / 1.096 GB, free: 464 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/1.044, allocations: 70.19 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.044, allocations: 348.6 kB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/1.044, allocations: 105.4 kB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/1.045, allocations: 132 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/1.045, allocations: 184.5 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.045, allocations: 0 / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006816/1.046, allocations: 321.2 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.046, allocations: 10.47 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.046, allocations: 1.125 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.046, allocations: 2.156 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/1.046, allocations: 50.06 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/1.046, allocations: 2.125 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/1.046, allocations: 25.8 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/1.046, allocations: 12.91 kB / 1.097 GB, free: 15.74 MB / 0.8731 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.0001995/1.047, allocations: 184.7 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/1.047, allocations: 34.38 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.82e-05/1.047, allocations: 37.53 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.047, allocations: 2.031 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.047, allocations: 0 / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/1.047, allocations: 6.484 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/1.047, allocations: 299.2 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.047, allocations: 0 / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/1.047, allocations: 12.27 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.047, allocations: 3.938 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/1.047, allocations: 8.469 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.047, allocations: 1.188 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.047, allocations: 4.453 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/1.048, allocations: 203.6 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/1.048, allocations: 115.6 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/1.048, allocations: 7.531 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/1.048, allocations: 11.14 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/1.048, allocations: 21.89 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/1.048, allocations: 5.219 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004235/1.049, allocations: 314.5 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.049, allocations: 0 / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003277/1.049, allocations: 58.84 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00108/1.05, allocations: 428 kB / 1.099 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004817/1.05, allocations: 195.9 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.05, allocations: 0 / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/1.051, allocations: 63 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/1.051, allocations: 85.34 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000968/1.052, allocations: 0.5196 MB / 1.1 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/1.053, allocations: 0.7857 MB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001602/1.053, allocations: 52.84 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/1.053, allocations: 36.03 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.053, allocations: 0 / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of Templates: time 0.01161/1.064, allocations: 4.098 MB / 1.104 GB, free: 13.21 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches