Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001964/0.001964, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.513/1.513, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.31 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4591, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002166/0.4613, allocations: 0.8285 MB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.4623, allocations: 0.8702 MB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.4624, allocations: 4 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.67e-05/0.4625, allocations: 3.938 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.593e-05/0.4626, allocations: 3.938 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.4627, allocations: 35.95 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.4629, allocations: 75.83 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.463, allocations: 31.92 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.843e-05/0.4631, allocations: 39.83 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.754e-05/0.4632, allocations: 39.83 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.4632, allocations: 4 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.4633, allocations: 8 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.4633, allocations: 19.91 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.4634, allocations: 35.73 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.4635, allocations: 83.72 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4635, allocations: 4 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4635, allocations: 0 / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.4635, allocations: 0 / 1.07 GB, free: 8.836 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007077/0.4642, allocations: 391.5 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4643, allocations: 8.031 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.4643, allocations: 12.84 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.4645, allocations: 180.2 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4645, allocations: 4.375 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.4646, allocations: 8.375 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.4649, allocations: 109.7 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4649, allocations: 3.938 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.4649, allocations: 4 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4649, allocations: 4 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/0.4653, allocations: 95.91 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.4659, allocations: 340.6 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/0.4665, allocations: 122.5 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.4667, allocations: 60.8 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.4668, allocations: 0 / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.4668, allocations: 30.56 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4668, allocations: 0 / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006646/0.4675, allocations: 193.4 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.4675, allocations: 51.41 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.4676, allocations: 125.8 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.4676, allocations: 25.7 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.4677, allocations: 96.05 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.4678, allocations: 23.75 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.4678, allocations: 21.7 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4679, allocations: 322.8 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.4681, allocations: 47.95 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.4683, allocations: 43.95 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.4686, allocations: 97.23 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4686, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004052/0.4691, allocations: 141.4 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4691, allocations: 9.875 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4691, allocations: 3.938 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.4691, allocations: 4 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.4693, allocations: 23.97 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4693, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.4694, allocations: 19.91 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.4695, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.113e-05/0.4696, allocations: 113.8 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.4696, allocations: 7.906 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.4696, allocations: 12.38 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4696, allocations: 4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4696, allocations: 3.984 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4697, allocations: 3.938 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.4699, allocations: 201.5 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4699, allocations: 0 / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.4701, allocations: 27.91 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4701, allocations: 0 / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.4701, allocations: 11.98 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4701, allocations: 0 / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4701, allocations: 7.938 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.4706, allocations: 231.4 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.4706, allocations: 81.02 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.4706, allocations: 4 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.4708, allocations: 15.98 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.4709, allocations: 19.97 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4709, allocations: 11.92 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.44e-05/0.471, allocations: 91.28 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.471, allocations: 0 / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002361/0.4712, allocations: 12 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001463/0.4714, allocations: 107.2 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000427/0.4718, allocations: 103.9 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4718, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.472, allocations: 67.88 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.4724, allocations: 8 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.4729, allocations: 191.8 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.4731, allocations: 0.6943 MB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.419e-05/0.4732, allocations: 8 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.4733, allocations: 23.36 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of SimCode: time 6.41e-07/0.4733, allocations: 4 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of Templates: time 0.004545/0.4779, allocations: 1.356 MB / 1.075 GB, free: 2.5 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches