Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009363/0.0009359, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.0009358/0.0009357, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.912/2.912, allocations: 437.7 MB / 0.7117 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003886, allocations: 8 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7445/0.7449, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001479/0.7464, allocations: 429.3 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.7484, allocations: 0.8235 MB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.402e-05/0.7485, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.7486, allocations: 3.938 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.7488, allocations: 7.938 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.749, allocations: 15.98 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.7492, allocations: 43.83 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.7494, allocations: 23.92 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.7495, allocations: 8 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.7496, allocations: 27.84 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.7496, allocations: 4 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.594e-05/0.7497, allocations: 0 / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.7497, allocations: 3.984 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.7497, allocations: 33.7 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.725e-05/0.7498, allocations: 27.92 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.7499, allocations: 4 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7499, allocations: 4 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.7499, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007423/0.7507, allocations: 341.3 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.7507, allocations: 8.031 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.7508, allocations: 19.83 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.751, allocations: 163 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.7511, allocations: 8 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.7511, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.7514, allocations: 77.59 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.7514, allocations: 0 / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.7515, allocations: 4 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.7515, allocations: 0 / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.7517, allocations: 67.94 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006974/0.7524, allocations: 292.7 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.7527, allocations: 66.55 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.7528, allocations: 40.91 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.7529, allocations: 0 / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.7529, allocations: 34.56 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.225e-06/0.7529, allocations: 4 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0005794/0.7535, allocations: 121.6 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.7536, allocations: 55.41 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.7537, allocations: 109.8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.7538, allocations: 25.7 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.726e-05/0.7539, allocations: 92.03 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.7539, allocations: 15.78 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.7539, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.7541, allocations: 310.8 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.7542, allocations: 39.97 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.998e-05/0.7543, allocations: 23.98 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.7545, allocations: 36.2 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7545, allocations: 3.938 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002962/0.7548, allocations: 105.5 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.7548, allocations: 4 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.7549, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.7549, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.755, allocations: 19.98 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.7551, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/0.7552, allocations: 12 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.7552, allocations: 3.984 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.7553, allocations: 117.8 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.7554, allocations: 4 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.7554, allocations: 7.906 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.7554, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.7554, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.7554, allocations: 4 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.7557, allocations: 173.6 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.7557, allocations: 3.953 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.872e-05/0.7558, allocations: 23.92 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.7558, allocations: 0 / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.7559, allocations: 0 / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7559, allocations: 0 / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7559, allocations: 0 / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.7562, allocations: 195.4 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.7563, allocations: 81.06 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.7563, allocations: 7.984 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.7564, allocations: 8 kB / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.7565, allocations: 15.98 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.7565, allocations: 0 / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.093e-05/0.7566, allocations: 87.27 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.803e-06/0.7566, allocations: 4 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002269/0.7568, allocations: 7.938 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001622/0.757, allocations: 103.2 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.7573, allocations: 71.94 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.7573, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.7574, allocations: 35.97 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.7577, allocations: 2.141 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.7581, allocations: 140.5 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.7585, allocations: 0.6848 MB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.193e-05/0.7586, allocations: 8 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.7586, allocations: 15.44 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.7586, allocations: 3.938 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of Templates: time 0.003337/0.762, allocations: 0.7442 MB / 1.028 GB, free: 9.633 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches