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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 193.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.191/3.191, allocations: 0.4893 GB / 0.7884 GB, free: 33.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 68.36 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3642, allocations: 174.9 MB / 1.316 GB, free: 9.711 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001853/0.3661, allocations: 0.6776 MB / 1.317 GB, free: 9.035 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.367, allocations: 0.7927 MB / 1.318 GB, free: 8.23 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.367, allocations: 0 / 1.318 GB, free: 8.23 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.3671, allocations: 3.938 kB / 1.318 GB, free: 8.227 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.899e-05/0.3671, allocations: 3.984 kB / 1.318 GB, free: 8.223 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.947e-05/0.3672, allocations: 11.98 kB / 1.318 GB, free: 8.211 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.854e-05/0.3672, allocations: 23.92 kB / 1.318 GB, free: 8.188 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3673, allocations: 4 kB / 1.318 GB, free: 8.184 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.682e-05/0.3674, allocations: 7.938 kB / 1.318 GB, free: 8.176 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.312e-05/0.3674, allocations: 19.92 kB / 1.318 GB, free: 8.156 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.3674, allocations: 4 kB / 1.318 GB, free: 8.152 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.391e-06/0.3675, allocations: 3.938 kB / 1.318 GB, free: 8.148 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.3675, allocations: 4 kB / 1.318 GB, free: 8.145 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.3675, allocations: 11.92 kB / 1.318 GB, free: 8.133 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.423e-05/0.3676, allocations: 31.83 kB / 1.318 GB, free: 8.102 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3676, allocations: 3.938 kB / 1.318 GB, free: 8.098 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3676, allocations: 0 / 1.318 GB, free: 8.098 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.3676, allocations: 0 / 1.318 GB, free: 8.098 MB / 1.014 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.0004377/0.368, allocations: 266.3 kB / 1.318 GB, free: 7.805 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3681, allocations: 8.031 kB / 1.318 GB, free: 7.797 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.3681, allocations: 4.938 kB / 1.318 GB, free: 7.793 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.895e-05/0.3682, allocations: 102.5 kB / 1.318 GB, free: 7.668 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3682, allocations: 384 / 1.318 GB, free: 7.668 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.3682, allocations: 4.375 kB / 1.318 GB, free: 7.664 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.3684, allocations: 54.23 kB / 1.318 GB, free: 7.605 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3684, allocations: 192 / 1.318 GB, free: 7.605 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3684, allocations: 3.938 kB / 1.318 GB, free: 7.602 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3684, allocations: 4 kB / 1.318 GB, free: 7.598 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.3686, allocations: 39.89 kB / 1.318 GB, free: 7.559 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.3689, allocations: 220 kB / 1.318 GB, free: 7.301 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.369, allocations: 38.48 kB / 1.318 GB, free: 7.254 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.3691, allocations: 28.91 kB / 1.318 GB, free: 7.223 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.3691, allocations: 0 / 1.318 GB, free: 7.223 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.3692, allocations: 34.56 kB / 1.318 GB, free: 7.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.3692, allocations: 0 / 1.318 GB, free: 7.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003202/0.3695, allocations: 81.58 kB / 1.318 GB, free: 7.094 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.3695, allocations: 55.53 kB / 1.319 GB, free: 7.027 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.3696, allocations: 105.8 kB / 1.319 GB, free: 6.914 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3696, allocations: 25.7 kB / 1.319 GB, free: 6.883 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.3697, allocations: 84.14 kB / 1.319 GB, free: 6.797 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.3697, allocations: 7.891 kB / 1.319 GB, free: 6.789 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.3697, allocations: 13.72 kB / 1.319 GB, free: 6.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3698, allocations: 314.8 kB / 1.319 GB, free: 6.453 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.3699, allocations: 23.97 kB / 1.319 GB, free: 6.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.37, allocations: 19.92 kB / 1.319 GB, free: 6.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3701, allocations: 40.77 kB / 1.319 GB, free: 6.367 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3701, allocations: 0 / 1.319 GB, free: 6.367 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001787/0.3703, allocations: 69.66 kB / 1.319 GB, free: 6.293 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3703, allocations: 8 kB / 1.319 GB, free: 6.285 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3703, allocations: 0 / 1.319 GB, free: 6.285 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3703, allocations: 0 / 1.319 GB, free: 6.285 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-05/0.3704, allocations: 11.98 kB / 1.319 GB, free: 6.273 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.3704, allocations: 0 / 1.319 GB, free: 6.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.287e-05/0.3705, allocations: 4 kB / 1.319 GB, free: 6.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.3705, allocations: 0 / 1.319 GB, free: 6.27 MB / 1.014 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.179e-05/0.3706, allocations: 118.3 kB / 1.319 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.3706, allocations: 11.98 kB / 1.319 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.3706, allocations: 7.25 kB / 1.319 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3706, allocations: 0 / 1.319 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3706, allocations: 0 / 1.319 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.3706, allocations: 0 / 1.319 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.3708, allocations: 132.7 kB / 1.319 GB, free: 5.949 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.3708, allocations: 7.938 kB / 1.319 GB, free: 5.941 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.3708, allocations: 4 kB / 1.319 GB, free: 5.938 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3708, allocations: 0 / 1.319 GB, free: 5.938 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3708, allocations: 4 kB / 1.32 GB, free: 5.934 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3708, allocations: 4.25 kB / 1.32 GB, free: 5.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3708, allocations: 4 kB / 1.32 GB, free: 5.926 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.3711, allocations: 159.5 kB / 1.32 GB, free: 5.754 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.3711, allocations: 4 kB / 1.32 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.3711, allocations: 3.984 kB / 1.32 GB, free: 5.746 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.3712, allocations: 12.03 kB / 1.32 GB, free: 5.734 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.3712, allocations: 7.969 kB / 1.32 GB, free: 5.727 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.3712, allocations: 0 / 1.32 GB, free: 5.727 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.3712, allocations: 79.28 kB / 1.32 GB, free: 5.648 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3712, allocations: 0 / 1.32 GB, free: 5.648 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002228/0.3715, allocations: 4 kB / 1.32 GB, free: 5.645 MB / 1.014 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.000139/0.3716, allocations: 103.2 kB / 1.32 GB, free: 5.531 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002815/0.3719, allocations: 39.95 kB / 1.32 GB, free: 5.492 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3719, allocations: 0 / 1.32 GB, free: 5.492 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.372, allocations: 19.92 kB / 1.32 GB, free: 5.473 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.3724, allocations: 13.31 kB / 1.32 GB, free: 5.461 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.3727, allocations: 109.5 kB / 1.32 GB, free: 5.328 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.373, allocations: 0.6808 MB / 1.321 GB, free: 4.621 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.287e-05/0.373, allocations: 0 / 1.321 GB, free: 4.621 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.3731, allocations: 11.38 kB / 1.321 GB, free: 4.609 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.3731, allocations: 4 kB / 1.321 GB, free: 4.605 MB / 1.014 GB Notification: Performance of Templates: time 0.002804/0.3759, allocations: 447.4 kB / 1.321 GB, free: 4.172 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.04003866482526]