Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00143/0.00143, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001487/0.001487, allocations: 192.6 kB / 22.11 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.566/1.566, allocations: 225.6 MB / 250.8 MB, free: 13.08 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.377/3.377, allocations: 495.8 MB / 0.783 GB, free: 33.52 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-maint.12.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=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.89 kB / 1.137 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3686, allocations: 173.6 MB / 1.307 GB, free: 1.848 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002835/0.3714, allocations: 0.6763 MB / 1.307 GB, free: 1.172 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001411/0.3728, allocations: 0.7928 MB / 1.308 GB, free: 376 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.3729, allocations: 0 / 1.308 GB, free: 376 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.3729, allocations: 7.938 kB / 1.308 GB, free: 368 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 8.193e-05/0.373, allocations: 7.875 kB / 1.308 GB, free: 360 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 7.529e-05/0.3731, allocations: 11.98 kB / 1.308 GB, free: 348 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.000108/0.3732, allocations: 19.98 kB / 1.308 GB, free: 328 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.3733, allocations: 8 kB / 1.308 GB, free: 320 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.3734, allocations: 11.92 kB / 1.308 GB, free: 308 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.3735, allocations: 11.94 kB / 1.308 GB, free: 296 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.3735, allocations: 0 / 1.308 GB, free: 296 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.3735, allocations: 4 kB / 1.308 GB, free: 292 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.3735, allocations: 7.984 kB / 1.308 GB, free: 284 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.3736, allocations: 7.938 kB / 1.308 GB, free: 276 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.3737, allocations: 31.83 kB / 1.308 GB, free: 244 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3737, allocations: 0 / 1.308 GB, free: 244 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 2.755e-06/0.3737, allocations: 4 kB / 1.308 GB, free: 240 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 9.578e-06/0.3737, allocations: 0 / 1.308 GB, free: 240 kB / 0.9981 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.0006288/0.3743, allocations: 258.3 kB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/0.3744, allocations: 12.03 kB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.3744, allocations: 8.891 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.3746, allocations: 114.5 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3746, allocations: 384 / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.3746, allocations: 384 / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.3749, allocations: 58.17 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3749, allocations: 192 / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.3749, allocations: 3.938 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3749, allocations: 0 / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.3751, allocations: 35.97 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.3755, allocations: 212 kB / 1.309 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.3757, allocations: 46.53 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.3758, allocations: 24.91 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3758, allocations: 3.938 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.3758, allocations: 38.5 kB / 1.309 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.3758, allocations: 0 / 1.309 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0003973/0.3762, allocations: 85.59 kB / 1.309 GB, free: 15.22 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.3763, allocations: 55.41 kB / 1.309 GB, free: 15.15 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.3764, allocations: 101.8 kB / 1.309 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3764, allocations: 25.7 kB / 1.309 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.3765, allocations: 84.14 kB / 1.309 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3765, allocations: 7.891 kB / 1.309 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.3766, allocations: 17.84 kB / 1.309 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001861/0.3767, allocations: 318.8 kB / 1.31 GB, free: 14.57 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.3768, allocations: 11.98 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.608e-05/0.3769, allocations: 19.92 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.3771, allocations: 36.83 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3771, allocations: 4.062 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002166/0.3773, allocations: 69.59 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3773, allocations: 5.094 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3773, allocations: 0 / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.3773, allocations: 0 / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3774, allocations: 11.98 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3774, allocations: 0 / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.3775, allocations: 12.02 kB / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.3775, allocations: 4 kB / 1.31 GB, free: 14.39 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 0.0001092/0.3776, allocations: 122.5 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.3776, allocations: 3.953 kB / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.3777, allocations: 7.312 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3777, allocations: 0 / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3777, allocations: 0 / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.3777, allocations: 4 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.3779, allocations: 132.7 kB / 1.31 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3779, allocations: 256 / 1.31 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.3779, allocations: 15.94 kB / 1.31 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3779, allocations: 4 kB / 1.31 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3779, allocations: 3.984 kB / 1.31 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.3779, allocations: 0 / 1.31 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3779, allocations: 0 / 1.31 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.3782, allocations: 167.4 kB / 1.31 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.3783, allocations: 3.984 kB / 1.31 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.3783, allocations: 3.984 kB / 1.31 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.3783, allocations: 4 kB / 1.31 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.3784, allocations: 11.92 kB / 1.31 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.3784, allocations: 0 / 1.31 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.976e-05/0.3785, allocations: 83.28 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3785, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002103/0.3787, allocations: 4 kB / 1.311 GB, free: 13.77 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.0001685/0.3789, allocations: 95.28 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000257/0.3791, allocations: 39.95 kB / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3791, allocations: 0 / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.442e-05/0.3792, allocations: 19.98 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.3796, allocations: 3.938 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.38, allocations: 109.6 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.3805, allocations: 0.6768 MB / 1.311 GB, free: 12.76 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.765e-05/0.3805, allocations: 4 kB / 1.311 GB, free: 12.76 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.3805, allocations: 7.438 kB / 1.311 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of SimCode: time 5.81e-07/0.3805, allocations: 0 / 1.311 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of Templates: time 0.003113/0.3836, allocations: 451.6 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.533564114011824]