Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001201/0.001201, allocations: 106.1 kB / 16.41 MB, free: 6.496 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.001219/0.00122, allocations: 185.5 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.391/1.391, 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 9.1.3-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.89 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8615/0.8629, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001969/0.865, allocations: 0.7826 MB / 1.089 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.866, allocations: 0.8581 MB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.866, allocations: 1.062 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.8661, allocations: 10.3 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.241e-05/0.8662, allocations: 14.42 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.8664, allocations: 37.81 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.8665, allocations: 86.22 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.8667, allocations: 26.2 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.8668, allocations: 39.75 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.8669, allocations: 49.78 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.8669, allocations: 7.844 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.867, allocations: 8.156 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.867, allocations: 19.86 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.867, allocations: 38.8 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.8672, allocations: 87.06 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.8672, allocations: 0 / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8672, allocations: 0 / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.8672, allocations: 1.281 kB / 1.091 GB, free: 4.16 MB / 0.8575 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.0006582/0.8679, allocations: 397.6 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.8679, allocations: 10.11 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.868, allocations: 8.312 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.8681, allocations: 178.6 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.8681, allocations: 8.172 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.8682, allocations: 7.656 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.8685, allocations: 108.7 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8685, allocations: 0.7031 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.8686, allocations: 1.094 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.8686, allocations: 8.984 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.869, allocations: 97.22 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.8695, allocations: 346.5 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006519/0.8701, allocations: 118.3 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.8704, allocations: 55.52 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.8704, allocations: 1.125 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.8704, allocations: 35.08 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.8704, allocations: 1.062 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007301/0.8712, allocations: 185.4 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.8712, allocations: 56.62 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.8713, allocations: 123.8 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.8713, allocations: 26.39 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.8714, allocations: 96.98 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.8714, allocations: 16.27 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.8715, allocations: 23.28 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.8715, allocations: 319.4 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.8717, allocations: 51.66 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.8719, allocations: 48.91 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.8723, allocations: 97.91 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8723, allocations: 1.094 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004331/0.8728, allocations: 137.6 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.8728, allocations: 5.562 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.8728, allocations: 0 / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.8728, allocations: 0.7188 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.873, allocations: 23.86 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.873, allocations: 0 / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.8731, allocations: 25.31 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.8732, allocations: 4 kB / 1.093 GB, free: 2.211 MB / 0.8575 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.0001005/0.8733, allocations: 118.1 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.8733, allocations: 6.188 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.8734, allocations: 11.36 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.8734, allocations: 1.641 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.8734, allocations: 0.9375 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.8734, allocations: 4.734 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.8736, allocations: 194 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.8736, allocations: 4 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.8738, allocations: 23.7 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8738, allocations: 0 / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.8738, allocations: 6.25 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8739, allocations: 1 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8739, allocations: 0.7969 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005463/0.8744, allocations: 243.1 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.8745, allocations: 87.47 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.8745, allocations: 1.062 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.8747, allocations: 17.53 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.8748, allocations: 20.66 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.8748, allocations: 7.016 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.803e-05/0.8749, allocations: 93.58 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8749, allocations: 4 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002559/0.8751, allocations: 16.28 kB / 1.094 GB, free: 1.492 MB / 0.8575 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.000168/0.8753, allocations: 109.3 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.8758, allocations: 104.7 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8758, allocations: 0 / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.8761, allocations: 66.47 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.8765, allocations: 12.88 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.877, allocations: 193.5 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.8772, allocations: 0.6938 MB / 1.095 GB, free: 484 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.8773, allocations: 20.62 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.8773, allocations: 0 / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of Templates: time 0.004509/0.8818, allocations: 1.253 MB / 1.096 GB, free: 380 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches