Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_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_latest_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.0009366/0.0009418, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01022/0.01022, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.544/1.544, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.948/2.948, allocations: 462.6 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003981, allocations: 11 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4224, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001381/0.4238, allocations: 0.4992 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.425, allocations: 0.8662 MB / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.4251, allocations: 0 / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.4251, allocations: 3.938 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.4253, allocations: 7.938 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.4254, allocations: 31.97 kB / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.4256, allocations: 83.78 kB / 1.06 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.4257, allocations: 27.92 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.957e-05/0.4259, allocations: 35.78 kB / 1.06 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.426, allocations: 39.83 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.426, allocations: 4 kB / 1.06 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.632e-05/0.426, allocations: 4 kB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.4261, allocations: 15.92 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.488e-05/0.4262, allocations: 61.47 kB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.4263, allocations: 79.72 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4263, allocations: 0 / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4263, allocations: 0 / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.4263, allocations: 0 / 1.06 GB, free: 3.695 MB / 0.8106 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.0007414/0.4271, allocations: 391.5 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.4271, allocations: 19.95 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.4272, allocations: 8.844 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.4274, allocations: 172.3 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.4274, allocations: 384 / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.4274, allocations: 8.375 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.4278, allocations: 129 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4278, allocations: 0 / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.4279, allocations: 0 / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.4279, allocations: 0 / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.4283, allocations: 123.9 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006379/0.4289, allocations: 344.6 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.4296, allocations: 126.6 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.4298, allocations: 76.8 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.4299, allocations: 0 / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.4299, allocations: 34.5 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.4299, allocations: 0 / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007803/0.4307, allocations: 213.5 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.4308, allocations: 51.41 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.4309, allocations: 121.8 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.4309, allocations: 33.64 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.431, allocations: 100 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.4311, allocations: 27.64 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.4311, allocations: 17.72 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4313, allocations: 322.8 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.4315, allocations: 51.95 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.4317, allocations: 60.27 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.4322, allocations: 124.9 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4322, allocations: 0 / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004491/0.4326, allocations: 157.6 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.4327, allocations: 4 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4327, allocations: 0 / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4327, allocations: 0 / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.4329, allocations: 35.97 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4329, allocations: 0 / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.433, allocations: 27.81 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.4331, allocations: 0 / 1.063 GB, free: 0.75 MB / 0.8106 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 0.0001188/0.4332, allocations: 117.8 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.4332, allocations: 8 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.886e-05/0.4333, allocations: 12.38 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4333, allocations: 4 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4333, allocations: 0 / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.4333, allocations: 7.922 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.4335, allocations: 209.4 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4336, allocations: 0 / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.4337, allocations: 31.97 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4337, allocations: 4 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.4338, allocations: 3.984 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4338, allocations: 0 / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4338, allocations: 0 / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.4343, allocations: 259.3 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.021e-05/0.4344, allocations: 89 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.4344, allocations: 3.938 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.4346, allocations: 19.98 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/0.4347, allocations: 23.97 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.4347, allocations: 3.938 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.57e-05/0.4347, allocations: 95.27 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4348, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002477/0.435, allocations: 16 kB / 1.064 GB, free: 15.77 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 (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.0001582/0.4352, allocations: 99.23 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004758/0.4357, allocations: 123.8 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4357, allocations: 4 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.4359, allocations: 71.94 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.4363, allocations: 13.55 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.4368, allocations: 197.3 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.4371, allocations: 0.6887 MB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.607e-05/0.4372, allocations: 15.98 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.4373, allocations: 15.42 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.4373, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.005119/0.4424, allocations: 1.336 MB / 1.066 GB, free: 13.15 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches