Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01236/0.01236, allocations: 102.2 kB / 15.73 MB, free: 6.039 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.001738/0.001738, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.91 kB / 1.054 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9709/0.9724, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002232/0.9746, allocations: 0.6646 MB / 1.208 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.9757, allocations: 0.7884 MB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.9757, allocations: 4 kB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.9758, allocations: 0 / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.605e-05/0.9758, allocations: 3.938 kB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.118e-05/0.9759, allocations: 7.984 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.032e-05/0.976, allocations: 23.94 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.9761, allocations: 7.984 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.727e-05/0.9762, allocations: 11.94 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.9762, allocations: 15.98 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.9763, allocations: 0 / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-06/0.9763, allocations: 4 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.9763, allocations: 7.938 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.9763, allocations: 7.984 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.951e-05/0.9764, allocations: 27.89 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.9764, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9764, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.9764, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004928/0.9769, allocations: 347.3 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.977, allocations: 8.031 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.977, allocations: 0.9375 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.9772, allocations: 168.4 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.9772, allocations: 384 / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.9772, allocations: 8.297 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.9774, allocations: 54.17 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.9774, allocations: 192 / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.9774, allocations: 3.938 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.9774, allocations: 4 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.9776, allocations: 35.95 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.978, allocations: 244.8 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.9781, allocations: 46.47 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.9782, allocations: 28.91 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.9782, allocations: 4 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.9783, allocations: 34.5 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.9783, allocations: 0 / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003439/0.9786, allocations: 81.64 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.9787, allocations: 55.53 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.042e-05/0.9788, allocations: 101.8 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.9788, allocations: 29.64 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.9788, allocations: 92.14 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.9789, allocations: 3.906 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.9789, allocations: 13.72 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.979, allocations: 318.8 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.027e-05/0.9791, allocations: 15.98 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.9792, allocations: 19.98 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.9794, allocations: 32.83 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9794, allocations: 0 / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.9796, allocations: 69.59 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.9796, allocations: 8.094 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.9796, allocations: 0 / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.9796, allocations: 4 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.9797, allocations: 11.92 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.9797, allocations: 0 / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.9798, allocations: 7.984 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.9798, allocations: 0 / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.015e-05/0.9799, allocations: 117.8 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.9799, allocations: 7.906 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.9799, allocations: 3.125 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.9799, allocations: 3.938 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9799, allocations: 4 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9799, allocations: 0 / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.9801, allocations: 161.6 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.9801, allocations: 256 / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.9802, allocations: 4 kB / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.9802, allocations: 8 kB / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.9802, allocations: 3.984 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.9802, allocations: 4 kB / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9802, allocations: 0 / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.9805, allocations: 163.4 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.9805, allocations: 82.92 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.9805, allocations: 0 / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.132e-05/0.9806, allocations: 4 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.9806, allocations: 12.02 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.9807, allocations: 4 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.9807, allocations: 79.28 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9807, allocations: 3.938 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002018/0.9809, allocations: 4 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000142/0.9811, allocations: 95.25 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.9813, allocations: 47.95 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9813, allocations: 0 / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.9814, allocations: 19.92 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.9817, allocations: 3.938 kB / 1.212 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.982, allocations: 121.4 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.9823, allocations: 0.6769 MB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.351e-05/0.9823, allocations: 4 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.9823, allocations: 7.438 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.9823, allocations: 0 / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of Templates: time 0.002399/0.9847, allocations: 453.5 kB / 1.213 GB, free: 7.754 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches