Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_10_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_10_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.007191/0.007191, allocations: 95.25 kB / 15.73 MB, free: 6.043 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.00133/0.00133, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.563/1.563, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.084/3.084, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 79.8 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4419, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002826/0.4448, allocations: 0.7717 MB / 1.167 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.4461, allocations: 0.8701 MB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.328e-05/0.4462, allocations: 4 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.578e-05/0.4463, allocations: 3.938 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.4464, allocations: 7.875 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.4467, allocations: 39.89 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.4469, allocations: 87.81 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.4471, allocations: 27.98 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.4472, allocations: 31.91 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.4473, allocations: 59.69 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.4474, allocations: 8 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.983e-05/0.4474, allocations: 8 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.4474, allocations: 15.98 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.4475, allocations: 43.78 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.4477, allocations: 87.59 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4477, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4477, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.4477, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 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.0008053/0.4485, allocations: 395.1 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.4486, allocations: 12.03 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.4487, allocations: 8.891 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.4489, allocations: 184.2 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.4489, allocations: 8.375 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.4489, allocations: 4.375 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.4493, allocations: 101.5 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4493, allocations: 3.984 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.4493, allocations: 8 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.4494, allocations: 0 / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.4498, allocations: 95.91 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.4505, allocations: 348.6 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.4512, allocations: 118.6 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.4514, allocations: 60.81 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.4514, allocations: 0 / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.4515, allocations: 34.5 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.4515, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0007504/0.4522, allocations: 185.5 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.4523, allocations: 51.41 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.4524, allocations: 129.7 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4525, allocations: 33.64 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.4525, allocations: 96.03 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.4526, allocations: 27.78 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.4527, allocations: 25.7 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4528, allocations: 318.8 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.453, allocations: 47.95 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.4532, allocations: 43.95 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.4535, allocations: 105.2 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4536, allocations: 0 / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003984/0.454, allocations: 129.6 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.454, allocations: 8 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.454, allocations: 0 / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.454, allocations: 4 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.4542, allocations: 23.97 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4542, allocations: 0 / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.4544, allocations: 19.91 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.4544, allocations: 0 / 1.171 GB, free: 1.93 MB / 0.92 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 0.0001021/0.4545, allocations: 117.8 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.4545, allocations: 7.953 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.4546, allocations: 16.38 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4546, allocations: 4 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4546, allocations: 3.984 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4546, allocations: 3.938 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.4549, allocations: 193.6 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4549, allocations: 0 / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.455, allocations: 23.97 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4551, allocations: 0 / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.4551, allocations: 7.984 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4551, allocations: 0 / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4551, allocations: 4 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/0.4556, allocations: 235.3 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.4557, allocations: 85 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.4558, allocations: 4 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.4559, allocations: 15.98 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.456, allocations: 27.91 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.4561, allocations: 8 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.26e-05/0.4561, allocations: 95.2 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4561, allocations: 0 / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002713/0.4564, allocations: 16 kB / 1.172 GB, free: 0.9844 MB / 0.92 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.0002235/0.4567, allocations: 99.25 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004856/0.4572, allocations: 115.8 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4572, allocations: 0 / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.4574, allocations: 59.89 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.4578, allocations: 11.98 kB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.4584, allocations: 176.5 kB / 1.172 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.4588, allocations: 0.6885 MB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.559e-05/0.4589, allocations: 15.98 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.459, allocations: 19.42 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.459, allocations: 0 / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of Templates: time 0.00503/0.464, allocations: 1.587 MB / 1.175 GB, free: 14.17 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches