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.009733/0.009733, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001878/0.001878, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.129/3.129, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 67.88 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3934, allocations: 157.4 MB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.005439/0.3989, allocations: 1.99 MB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002196/0.4011, allocations: 1.197 MB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.4013, allocations: 7.938 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005199/0.4018, allocations: 155.4 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.4023, allocations: 167.4 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.4029, allocations: 219.4 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004478/0.4033, allocations: 307.2 kB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.4036, allocations: 52.36 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.4038, allocations: 155.4 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.4041, allocations: 151.4 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.4041, allocations: 12 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.4043, allocations: 55.98 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.4044, allocations: 91.66 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.4046, allocations: 127.1 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.4051, allocations: 370.7 kB / 1.213 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4051, allocations: 0 / 1.213 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4051, allocations: 0 / 1.213 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.4051, allocations: 4 kB / 1.213 GB, free: 4.535 MB / 0.9669 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.001176/0.4063, allocations: 0.6205 MB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.4064, allocations: 8.625 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.802e-05/0.4065, allocations: 32.56 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000559/0.407, allocations: 381.9 kB / 1.214 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.4071, allocations: 4 kB / 1.214 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.4071, allocations: 15.94 kB / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.4074, allocations: 106.9 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4074, allocations: 0 / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.4074, allocations: 8 kB / 1.214 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4074, allocations: 0 / 1.214 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.4076, allocations: 63.86 kB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008437/0.4085, allocations: 0.4886 MB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.4088, allocations: 142.7 kB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.4089, allocations: 44.83 kB / 1.215 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.409, allocations: 4 kB / 1.215 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.4092, allocations: 115.3 kB / 1.215 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.4092, allocations: 0 / 1.215 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005672/0.4098, allocations: 226.9 kB / 1.215 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.4099, allocations: 51.41 kB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/0.4104, allocations: 0.5093 MB / 1.215 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.4105, allocations: 29.7 kB / 1.215 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.4106, allocations: 168.3 kB / 1.216 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.4106, allocations: 31.64 kB / 1.216 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.4108, allocations: 77.86 kB / 1.216 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4109, allocations: 350.8 kB / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.4111, allocations: 96.52 kB / 1.216 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.4114, allocations: 135.6 kB / 1.216 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.4117, allocations: 184.2 kB / 1.216 GB, free: 468 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4117, allocations: 0 / 1.216 GB, free: 468 kB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005402/0.4122, allocations: 321.1 kB / 1.217 GB, free: 140 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4123, allocations: 11.94 kB / 1.217 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4123, allocations: 0 / 1.217 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4123, allocations: 0 / 1.217 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.4125, allocations: 51.91 kB / 1.217 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4125, allocations: 4 kB / 1.217 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.4127, allocations: 16 kB / 1.217 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.4127, allocations: 19.98 kB / 1.217 GB, free: 36 kB / 0.9669 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.0002033/0.4129, allocations: 185.7 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.413, allocations: 35.47 kB / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.982e-05/0.4131, allocations: 35.12 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4131, allocations: 0 / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4131, allocations: 0 / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4131, allocations: 3.984 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.4134, allocations: 305.4 kB / 1.217 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4134, allocations: 7.938 kB / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.4135, allocations: 15.98 kB / 1.217 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4135, allocations: 3.938 kB / 1.217 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.4135, allocations: 0 / 1.217 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4135, allocations: 4 kB / 1.217 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4135, allocations: 0 / 1.217 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.4139, allocations: 212.5 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.414, allocations: 116.7 kB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.4141, allocations: 7.938 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.4142, allocations: 15.98 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.337e-05/0.4143, allocations: 15.98 kB / 1.218 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.4143, allocations: 4 kB / 1.218 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003419/0.4147, allocations: 315.1 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4147, allocations: 0 / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002856/0.415, allocations: 55.98 kB / 1.218 GB, free: 14.62 MB / 0.9825 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.001104/0.4161, allocations: 424 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004375/0.4165, allocations: 199.7 kB / 1.219 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4165, allocations: 0 / 1.219 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.4167, allocations: 59.91 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.4171, allocations: 94.42 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008899/0.418, allocations: 0.5239 MB / 1.219 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.4185, allocations: 0.7908 MB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.4187, allocations: 58.94 kB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/0.4187, allocations: 31.44 kB / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.4188, allocations: 0 / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.008991/0.4277, allocations: 4.087 MB / 1.224 GB, free: 8.512 MB / 0.9825 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