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.001435/0.001436, allocations: 110 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.001432/0.001432, allocations: 185.6 kB / 17.34 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.459/2.459, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7453/0.7467, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003575/0.7504, allocations: 1.999 MB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.7525, allocations: 1.196 MB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.7527, allocations: 4 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.7532, allocations: 163.4 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.7537, allocations: 159.3 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006126/0.7543, allocations: 223.4 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.7548, allocations: 311.2 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.755, allocations: 36.39 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.7553, allocations: 155.4 kB / 1.213 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.7555, allocations: 155.4 kB / 1.213 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.121e-05/0.7556, allocations: 12 kB / 1.213 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.7558, allocations: 63.97 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.7559, allocations: 83.73 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.756, allocations: 123.1 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.7565, allocations: 368.4 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7565, allocations: 0 / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7565, allocations: 0 / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.7565, allocations: 0 / 1.213 GB, free: 8.617 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.001115/0.7576, allocations: 0.6341 MB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.7577, allocations: 11.97 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.713e-05/0.7578, allocations: 32.56 kB / 1.214 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.7583, allocations: 377.9 kB / 1.214 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.7583, allocations: 8 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.7583, allocations: 8 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.7586, allocations: 105.6 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.7586, allocations: 7.984 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.7587, allocations: 4 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7587, allocations: 0 / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.7589, allocations: 59.97 kB / 1.215 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008426/0.7597, allocations: 0.4924 MB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.7601, allocations: 130.8 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.7602, allocations: 48.83 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.7602, allocations: 7.984 kB / 1.215 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.7605, allocations: 114.9 kB / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.7605, allocations: 0 / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005331/0.761, allocations: 225.3 kB / 1.216 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.7611, allocations: 55.41 kB / 1.216 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005874/0.7617, allocations: 0.5053 MB / 1.216 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.7617, allocations: 33.69 kB / 1.216 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.7618, allocations: 168.4 kB / 1.216 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.7619, allocations: 31.55 kB / 1.216 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.762, allocations: 73.88 kB / 1.216 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7622, allocations: 350.8 kB / 1.217 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.7624, allocations: 104.5 kB / 1.217 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.7626, allocations: 131.6 kB / 1.217 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.763, allocations: 180.3 kB / 1.217 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.763, allocations: 4 kB / 1.217 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005189/0.7636, allocations: 313.2 kB / 1.217 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.7636, allocations: 14.12 kB / 1.217 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.7636, allocations: 0 / 1.217 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.7636, allocations: 0 / 1.217 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.7639, allocations: 55.91 kB / 1.217 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.7639, allocations: 4 kB / 1.217 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.764, allocations: 19.83 kB / 1.217 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.7641, allocations: 12.06 kB / 1.217 GB, free: 4.109 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.0001838/0.7643, allocations: 185.8 kB / 1.218 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.7643, allocations: 39.45 kB / 1.218 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.508e-05/0.7644, allocations: 39.12 kB / 1.218 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.7644, allocations: 0 / 1.218 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7644, allocations: 0 / 1.218 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.7644, allocations: 7.938 kB / 1.218 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.7647, allocations: 293.5 kB / 1.218 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7647, allocations: 0 / 1.218 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.7649, allocations: 19.94 kB / 1.218 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.7649, allocations: 3.938 kB / 1.218 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.7649, allocations: 7.984 kB / 1.218 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.7649, allocations: 4 kB / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7649, allocations: 3.938 kB / 1.218 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.7653, allocations: 196.7 kB / 1.218 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.7654, allocations: 116.6 kB / 1.218 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.7654, allocations: 15.92 kB / 1.218 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.7656, allocations: 11.98 kB / 1.218 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.7656, allocations: 19.97 kB / 1.218 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.7657, allocations: 8 kB / 1.218 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003318/0.766, allocations: 319.1 kB / 1.219 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.766, allocations: 0 / 1.219 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002874/0.7663, allocations: 52 kB / 1.219 GB, free: 2.695 MB / 0.9356 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.0009766/0.7673, allocations: 428.6 kB / 1.219 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.7677, allocations: 187.8 kB / 1.219 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7677, allocations: 0 / 1.219 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.7679, allocations: 63.91 kB / 1.219 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.7684, allocations: 81.83 kB / 1.22 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008634/0.7693, allocations: 0.5568 MB / 1.22 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.7697, allocations: 0.7986 MB / 1.221 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.936e-05/0.7698, allocations: 31.42 kB / 1.221 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.7698, allocations: 0 / 1.221 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of Templates: time 0.007219/0.777, allocations: 4.421 MB / 1.225 GB, free: 12.27 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