Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_10_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_10_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.001441/0.001441, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001615/0.001615, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.526/2.526, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7623/0.7638, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001853/0.7657, allocations: 0.6757 MB / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008988/0.7666, allocations: 0.7845 MB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.7666, allocations: 4 kB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.7667, allocations: 0 / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.291e-05/0.7668, allocations: 7.938 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.387e-05/0.7668, allocations: 7.984 kB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.475e-05/0.7669, allocations: 19.94 kB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.767, allocations: 15.92 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.908e-05/0.7671, allocations: 7.938 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.771e-05/0.7671, allocations: 11.98 kB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.7672, allocations: 3.984 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.094e-06/0.7672, allocations: 4 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.7672, allocations: 7.938 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.7672, allocations: 15.98 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.9e-05/0.7673, allocations: 23.91 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7673, allocations: 0 / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7673, allocations: 0 / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.7673, allocations: 0 / 1.169 GB, free: 2.254 MB / 0.8887 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.0004565/0.7678, allocations: 339.3 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.7679, allocations: 8.922 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.7679, allocations: 0.9375 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.768, allocations: 172.3 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.768, allocations: 8.359 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.7681, allocations: 4.312 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.7682, allocations: 46.25 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.7682, allocations: 192 / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.7683, allocations: 3.938 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.7683, allocations: 0 / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.7684, allocations: 35.95 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.7688, allocations: 248.8 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.7689, allocations: 46.47 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.719e-05/0.769, allocations: 24.91 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.769, allocations: 4 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.769, allocations: 34.56 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.7691, allocations: 0 / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003311/0.7694, allocations: 85.58 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.7694, allocations: 51.41 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.147e-05/0.7695, allocations: 101.8 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.7695, allocations: 25.7 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.7696, allocations: 96.27 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.7696, allocations: 3.906 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.7697, allocations: 13.72 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7698, allocations: 318.8 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.7699, allocations: 11.98 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.7699, allocations: 19.98 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.7701, allocations: 36.89 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7701, allocations: 0 / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001791/0.7703, allocations: 73.53 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.7703, allocations: 4 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.7703, allocations: 3.938 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.7703, allocations: 4 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.7704, allocations: 12.02 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.7704, allocations: 0 / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.7705, allocations: 7.984 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.7705, allocations: 0 / 1.171 GB, free: 228 kB / 0.8887 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 9.608e-05/0.7706, allocations: 117.8 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.7706, allocations: 3.906 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.7706, allocations: 3.125 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.7707, allocations: 3.938 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7707, allocations: 4 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.7707, allocations: 4 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.7708, allocations: 165.6 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7709, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.7709, allocations: 4.25 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.7709, allocations: 4 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.7709, allocations: 7.984 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7709, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.771, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.7712, allocations: 169.8 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.7712, allocations: 86.91 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.7713, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.7713, allocations: 4 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.7714, allocations: 11.98 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.7714, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.572e-05/0.7714, allocations: 79.28 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7714, allocations: 4.031 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002218/0.7717, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 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.0001244/0.7718, allocations: 99.25 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.772, allocations: 39.95 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.772, allocations: 3.938 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.7721, allocations: 20.05 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.7724, allocations: 7.938 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.7727, allocations: 139.1 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.773, allocations: 0.6768 MB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.7731, allocations: 7.438 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of SimCode: time 3.4e-07/0.7731, allocations: 0 / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.001733/0.7748, allocations: 0.5572 MB / 1.173 GB, free: 13.86 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches