Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_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_latest_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.001225/0.001225, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01374/0.01374, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.596/1.596, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.958/2.958, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 13.2 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4368, allocations: 159.6 MB / 1.059 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001263/0.4381, allocations: 435.5 kB / 1.059 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.4392, allocations: 0.8391 MB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.4393, allocations: 0 / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.4393, allocations: 0 / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.4394, allocations: 7.938 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.4396, allocations: 19.98 kB / 1.06 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.82e-05/0.4397, allocations: 43.84 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.4398, allocations: 15.98 kB / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.4399, allocations: 15.92 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.177e-05/0.44, allocations: 19.92 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.44, allocations: 0 / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.44, allocations: 4 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.4401, allocations: 11.97 kB / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.4401, allocations: 41.58 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.4402, allocations: 35.86 kB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4403, allocations: 0 / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4403, allocations: 0 / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.4403, allocations: 0 / 1.06 GB, free: 3.988 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006166/0.4409, allocations: 363.6 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/0.441, allocations: 12.03 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.441, allocations: 0.9375 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.4412, allocations: 176.2 kB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.4413, allocations: 4.375 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.4413, allocations: 4.375 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.4415, allocations: 81.77 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4415, allocations: 0 / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4416, allocations: 0 / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.4416, allocations: 0 / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.4418, allocations: 63.89 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.4423, allocations: 292.7 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.4426, allocations: 66.53 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.4427, allocations: 40.92 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4428, allocations: 7.938 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.4428, allocations: 38.53 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.4428, allocations: 0 / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004879/0.4433, allocations: 129.5 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.4434, allocations: 55.41 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.4435, allocations: 105.8 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.4435, allocations: 25.7 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.4436, allocations: 92.14 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.4436, allocations: 11.88 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.4436, allocations: 13.72 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.4438, allocations: 322.8 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.4439, allocations: 23.98 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.444, allocations: 35.97 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.4443, allocations: 64.75 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4443, allocations: 4 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002579/0.4445, allocations: 97.64 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4446, allocations: 4 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4446, allocations: 0 / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4446, allocations: 0 / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.4448, allocations: 15.98 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4448, allocations: 0 / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.4449, allocations: 15.98 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.4449, allocations: 0 / 1.062 GB, free: 1.641 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: 2 (reaToInt.y,addPar.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.445, allocations: 117.8 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.445, allocations: 3.906 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.4451, allocations: 11.91 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4451, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4451, allocations: 3.938 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4451, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.4453, allocations: 193.5 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4453, allocations: 0 / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.464e-05/0.4454, allocations: 15.98 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4454, allocations: 0 / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4455, allocations: 0 / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4455, allocations: 0 / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4455, allocations: 0 / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.4458, allocations: 195.4 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.4459, allocations: 85 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.4459, allocations: 0 / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.446, allocations: 8 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.4461, allocations: 15.98 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.4461, allocations: 384 / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.176e-05/0.4462, allocations: 103.4 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4462, allocations: 0 / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002144/0.4464, allocations: 4 kB / 1.063 GB, free: 0.8008 MB / 0.8106 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 (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.0002061/0.4466, allocations: 103.2 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003086/0.4469, allocations: 75.92 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.447, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.4471, allocations: 35.97 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.4474, allocations: 5.203 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.4479, allocations: 140.6 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.4483, allocations: 0.6809 MB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.816e-05/0.4483, allocations: 11.98 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.4484, allocations: 11.44 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of SimCode: time 4.449e-06/0.4484, allocations: 0 / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.0038/0.4522, allocations: 0.7625 MB / 1.065 GB, free: 14.93 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches