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.006627/0.006627, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001334/0.001334, allocations: 194.3 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.676/1.676, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.173/3.173, allocations: 472.6 MB / 0.7453 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 71.89 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4666/0.4685, allocations: 159.9 MB / 1.226 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002293/0.4709, allocations: 0.7737 MB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.4721, allocations: 0.8623 MB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.4721, allocations: 0 / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.4722, allocations: 11.88 kB / 1.227 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.508e-05/0.4723, allocations: 7.875 kB / 1.227 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.4725, allocations: 43.89 kB / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.4726, allocations: 79.88 kB / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.4728, allocations: 23.89 kB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.53e-05/0.4729, allocations: 51.78 kB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.896e-05/0.473, allocations: 47.81 kB / 1.228 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.473, allocations: 8 kB / 1.228 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.89e-05/0.4731, allocations: 8 kB / 1.228 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.217e-05/0.4731, allocations: 23.86 kB / 1.228 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.4732, allocations: 35.84 kB / 1.228 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.4733, allocations: 87.59 kB / 1.228 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4733, allocations: 0 / 1.228 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4733, allocations: 0 / 1.228 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.4733, allocations: 0 / 1.228 GB, free: 7.109 MB / 0.9825 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.000682/0.474, allocations: 403.1 kB / 1.228 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4741, allocations: 8.031 kB / 1.228 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.4741, allocations: 8.891 kB / 1.228 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.4743, allocations: 180.2 kB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.4743, allocations: 8.375 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.4743, allocations: 4.375 kB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.4747, allocations: 108.3 kB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4747, allocations: 7.984 kB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.4747, allocations: 0 / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.4747, allocations: 0 / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003741/0.4751, allocations: 95.91 kB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006577/0.4758, allocations: 352.6 kB / 1.229 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.4764, allocations: 114.6 kB / 1.229 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.4766, allocations: 60.69 kB / 1.229 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.4766, allocations: 0 / 1.229 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.4767, allocations: 38.56 kB / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.4767, allocations: 0 / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006604/0.4773, allocations: 177.5 kB / 1.229 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.4774, allocations: 51.41 kB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.4775, allocations: 133.7 kB / 1.229 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4775, allocations: 29.7 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.4776, allocations: 92.09 kB / 1.229 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.4777, allocations: 19.84 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.4777, allocations: 29.7 kB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4779, allocations: 318.8 kB / 1.23 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.4781, allocations: 51.89 kB / 1.23 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.4782, allocations: 43.95 kB / 1.23 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.4786, allocations: 97.23 kB / 1.23 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4786, allocations: 0 / 1.23 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004151/0.479, allocations: 137.5 kB / 1.23 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.479, allocations: 4 kB / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.479, allocations: 4 kB / 1.23 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4791, allocations: 0 / 1.23 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.4793, allocations: 31.91 kB / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4793, allocations: 0 / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.4794, allocations: 23.84 kB / 1.23 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.4794, allocations: 11.94 kB / 1.23 GB, free: 4.297 MB / 0.9825 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.0001192/0.4796, allocations: 110.4 kB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.4796, allocations: 7.953 kB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.4796, allocations: 12.38 kB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4797, allocations: 3.984 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.4797, allocations: 0 / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4797, allocations: 7.875 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.4799, allocations: 197.6 kB / 1.231 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4799, allocations: 0 / 1.231 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.4801, allocations: 27.97 kB / 1.231 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4801, allocations: 4 kB / 1.231 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.4801, allocations: 3.984 kB / 1.231 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4801, allocations: 0 / 1.231 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4801, allocations: 0 / 1.231 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.4806, allocations: 239.3 kB / 1.231 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.4807, allocations: 81.06 kB / 1.231 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.4807, allocations: 4 kB / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.4808, allocations: 15.98 kB / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.4809, allocations: 23.91 kB / 1.231 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.481, allocations: 4 kB / 1.231 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.253e-05/0.481, allocations: 91.27 kB / 1.231 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.481, allocations: 0 / 1.231 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002316/0.4813, allocations: 16 kB / 1.231 GB, free: 3.367 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: 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.0002107/0.4815, allocations: 103.2 kB / 1.231 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.482, allocations: 103.8 kB / 1.231 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.482, allocations: 0 / 1.231 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.4822, allocations: 71.92 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.4826, allocations: 11.94 kB / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.4831, allocations: 174.1 kB / 1.231 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.4834, allocations: 0.6923 MB / 1.232 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.85e-05/0.4835, allocations: 15.98 kB / 1.232 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.4836, allocations: 19.42 kB / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.4836, allocations: 0 / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of Templates: time 0.004333/0.4879, allocations: 1.59 MB / 1.234 GB, free: 0.543 MB / 0.9825 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