Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006669/0.006669, allocations: 97.23 kB / 15.73 MB, free: 5.547 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.001379/0.001379, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.643/2.643, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 1.065 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9767/0.978, allocations: 159.1 MB / 1.221 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00196/0.9799, allocations: 0.7719 MB / 1.221 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009726/0.9809, allocations: 0.8624 MB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.9809, allocations: 0 / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.981, allocations: 7.875 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.616e-05/0.9811, allocations: 11.86 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.9812, allocations: 39.95 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.9814, allocations: 87.77 kB / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.9815, allocations: 23.97 kB / 1.222 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.266e-05/0.9816, allocations: 39.84 kB / 1.222 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.9817, allocations: 51.81 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.9817, allocations: 8 kB / 1.222 GB, free: 168 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.9817, allocations: 8 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.9817, allocations: 19.92 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.9818, allocations: 31.84 kB / 1.223 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.9819, allocations: 87.19 kB / 1.223 GB, free: 24 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.9819, allocations: 3.938 kB / 1.223 GB, free: 20 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9819, allocations: 0 / 1.223 GB, free: 20 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.9819, allocations: 4 kB / 1.223 GB, free: 16 kB / 0.9356 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.000686/0.9826, allocations: 396.1 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.9826, allocations: 8.031 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.9827, allocations: 8.891 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.9829, allocations: 184.2 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.9829, allocations: 8.375 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.9829, allocations: 8.312 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.9832, allocations: 105.5 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.9832, allocations: 0 / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.9832, allocations: 8 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.9832, allocations: 0 / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.9836, allocations: 99.83 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.9842, allocations: 336.7 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/0.9848, allocations: 118.5 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.9849, allocations: 56.81 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.985, allocations: 7.984 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.985, allocations: 34.55 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.985, allocations: 0 / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0006315/0.9856, allocations: 181.5 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.9857, allocations: 55.41 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.9858, allocations: 137.6 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.9858, allocations: 25.7 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.9858, allocations: 96.03 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.9859, allocations: 23.84 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.9859, allocations: 21.7 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.986, allocations: 318.8 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.9862, allocations: 47.95 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.9864, allocations: 43.95 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.9867, allocations: 100.8 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.9867, allocations: 0 / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000397/0.9871, allocations: 137.5 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.9871, allocations: 4 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.9871, allocations: 0 / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.9871, allocations: 0 / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.9873, allocations: 27.97 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.9873, allocations: 3.984 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.9874, allocations: 27.86 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.9874, allocations: 4 kB / 1.225 GB, free: 13.21 MB / 0.9512 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,add1.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 8.325e-05/0.9875, allocations: 113.8 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.9875, allocations: 3.953 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.9876, allocations: 16.36 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.9876, allocations: 0 / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9876, allocations: 0 / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.9876, allocations: 3.938 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.9878, allocations: 193.6 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.9878, allocations: 7.984 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.9879, allocations: 31.91 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.9879, allocations: 0 / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.9879, allocations: 3.938 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.9879, allocations: 3.938 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9879, allocations: 4 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.9884, allocations: 239.9 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.9884, allocations: 81.06 kB / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.9885, allocations: 4 kB / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.9886, allocations: 11.98 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.9887, allocations: 27.91 kB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.9887, allocations: 3.984 kB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.718e-05/0.9887, allocations: 95.27 kB / 1.226 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9887, allocations: 4 kB / 1.226 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002275/0.989, allocations: 16 kB / 1.226 GB, free: 12.26 MB / 0.9512 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 (add1.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.0001232/0.9891, allocations: 107.2 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.9895, allocations: 99.97 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9895, allocations: 4 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.9897, allocations: 67.88 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.99, allocations: 8 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.9905, allocations: 178.1 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.9907, allocations: 0.6885 MB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.041e-05/0.9908, allocations: 15.98 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.9909, allocations: 23.42 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of SimCode: time 4.1e-07/0.9909, allocations: 4 kB / 1.227 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of Templates: time 0.003806/0.9947, allocations: 1.574 MB / 1.229 GB, free: 9.449 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches