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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001454/0.001454, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 196.9 kB / 16.53 MB, free: 6.699 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.511/1.511, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.44 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4528, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003645/0.4565, allocations: 2.001 MB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.4585, allocations: 1.196 MB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.4586, allocations: 7.938 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.4591, allocations: 155.5 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004197/0.4596, allocations: 155.3 kB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007695/0.4603, allocations: 226.8 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000498/0.4609, allocations: 315.2 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.4611, allocations: 44.39 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.4613, allocations: 135.5 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.4615, allocations: 151.4 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.4616, allocations: 16 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.4618, allocations: 63.95 kB / 1.073 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.4619, allocations: 83.69 kB / 1.073 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.4621, allocations: 127.1 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.4626, allocations: 359 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4626, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4626, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.4626, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 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.001144/0.4638, allocations: 0.6263 MB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4638, allocations: 12.03 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.762e-05/0.4639, allocations: 32.56 kB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.4644, allocations: 378.1 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.4644, allocations: 8 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.4645, allocations: 4 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.4647, allocations: 119.4 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4647, allocations: 0 / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.4648, allocations: 0 / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4648, allocations: 4 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.4649, allocations: 67.95 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007743/0.4657, allocations: 0.4885 MB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.4661, allocations: 142.7 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.4662, allocations: 48.83 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.4662, allocations: 4 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.4664, allocations: 110.7 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.4665, allocations: 0 / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004929/0.467, allocations: 221.3 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.467, allocations: 51.41 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.4675, allocations: 0.5093 MB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.4675, allocations: 33.64 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.4677, allocations: 168.4 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.4677, allocations: 31.55 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.4678, allocations: 81.8 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4679, allocations: 350.8 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.4681, allocations: 100.5 kB / 1.077 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.4683, allocations: 131.6 kB / 1.077 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.4686, allocations: 183.3 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4686, allocations: 4 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004954/0.4691, allocations: 313.2 kB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4692, allocations: 11.94 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4692, allocations: 3.938 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4692, allocations: 4 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.4694, allocations: 51.97 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.4694, allocations: 0 / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.4696, allocations: 23.78 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.4696, allocations: 12.05 kB / 1.077 GB, free: 0.8555 MB / 0.8262 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.0001925/0.4698, allocations: 186.3 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.4699, allocations: 31.53 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.259e-05/0.4699, allocations: 39.06 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4699, allocations: 0 / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.47, allocations: 3.938 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.47, allocations: 3.984 kB / 1.077 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.4703, allocations: 305.4 kB / 1.078 GB, free: 244 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4703, allocations: 0 / 1.078 GB, free: 244 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.591e-05/0.4704, allocations: 19.98 kB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4704, allocations: 0 / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.4704, allocations: 3.938 kB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4704, allocations: 3.938 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4704, allocations: 7.984 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.4708, allocations: 200.7 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.4709, allocations: 116.6 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.4709, allocations: 7.938 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.471, allocations: 19.92 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.4711, allocations: 19.92 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.4711, allocations: 4 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003123/0.4714, allocations: 315.1 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4715, allocations: 0 / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002958/0.4718, allocations: 59.98 kB / 1.079 GB, free: 15.44 MB / 0.8419 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.001044/0.4728, allocations: 418.5 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.4732, allocations: 195.8 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4732, allocations: 0 / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.4734, allocations: 59.97 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.4738, allocations: 96.47 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008536/0.4747, allocations: 0.5277 MB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.4752, allocations: 0.7908 MB / 1.081 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.4753, allocations: 58.94 kB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.4754, allocations: 35.42 kB / 1.081 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.4754, allocations: 0 / 1.081 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.008368/0.4838, allocations: 4.062 MB / 1.085 GB, free: 9.355 MB / 0.8419 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/jenkins/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