Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.001955/0.001955, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002521/0.002521, allocations: 189.4 kB / 22.22 MB, free: 5.102 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.513/1.513, allocations: 225.6 MB / 251 MB, free: 13.03 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.279/3.279, allocations: 496 MB / 0.7835 GB, free: 33.61 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline")
translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 60.81 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3648, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002983/0.3678, allocations: 1.463 MB / 1.309 GB, free: 356 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001452/0.3692, allocations: 0.7986 MB / 1.31 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.3693, allocations: 0 / 1.31 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 6.864e-05/0.3693, allocations: 0 / 1.31 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.3694, allocations: 3.938 kB / 1.31 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.3701, allocations: 190.4 kB / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001297/0.3702, allocations: 47.84 kB / 1.31 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.655e-05/0.3703, allocations: 4 kB / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.3703, allocations: 19.98 kB / 1.31 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.3704, allocations: 19.91 kB / 1.31 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.3704, allocations: 4 kB / 1.31 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000403/0.3708, allocations: 223.7 kB / 1.31 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.3708, allocations: 15.94 kB / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.3709, allocations: 19.91 kB / 1.31 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.3712, allocations: 191.5 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.3712, allocations: 3.984 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.343e-06/0.3712, allocations: 0 / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.34e-06/0.3712, allocations: 0 / 1.31 GB, free: 14.82 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0005154/0.3717, allocations: 357.4 kB / 1.311 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3718, allocations: 8.031 kB / 1.311 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.3718, allocations: 4.938 kB / 1.311 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.3719, allocations: 122.4 kB / 1.311 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3719, allocations: 384 / 1.311 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.3719, allocations: 4.375 kB / 1.311 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3721, allocations: 77.97 kB / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3722, allocations: 0 / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3722, allocations: 4 kB / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3722, allocations: 0 / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.3723, allocations: 47.97 kB / 1.311 GB, free: 14.13 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.3727, allocations: 248 kB / 1.311 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.3729, allocations: 62.48 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.408e-05/0.3729, allocations: 48.84 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.373, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.373, allocations: 30.56 kB / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.373, allocations: 0 / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0004124/0.3734, allocations: 187.3 kB / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.3735, allocations: 85.03 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.3736, allocations: 121.8 kB / 1.312 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.3736, allocations: 29.7 kB / 1.312 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.3737, allocations: 88.12 kB / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.3737, allocations: 11.91 kB / 1.312 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.3737, allocations: 21.72 kB / 1.312 GB, free: 13.1 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001502/0.3739, allocations: 318.9 kB / 1.312 GB, free: 12.78 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.374, allocations: 59.91 kB / 1.312 GB, free: 12.72 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3741, allocations: 55.97 kB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.3744, allocations: 197.8 kB / 1.312 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3744, allocations: 0 / 1.312 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003302/0.3747, allocations: 217 kB / 1.313 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.3748, allocations: 63.41 kB / 1.313 GB, free: 12.14 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3748, allocations: 0 / 1.313 GB, free: 12.14 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3748, allocations: 8.062 kB / 1.313 GB, free: 12.14 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.3749, allocations: 7.984 kB / 1.313 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3749, allocations: 0 / 1.313 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.524e-05/0.3749, allocations: 15.89 kB / 1.313 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3749, allocations: 0 / 1.313 GB, free: 12.11 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: 1 (cubSpl.i)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (3):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 2
 * 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.0001499/0.3751, allocations: 155.4 kB / 1.313 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.3751, allocations: 4 kB / 1.313 GB, free: 11.94 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.3751, allocations: 4.234 kB / 1.313 GB, free: 11.93 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3751, allocations: 4 kB / 1.313 GB, free: 11.93 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3751, allocations: 0 / 1.313 GB, free: 11.93 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3751, allocations: 7.984 kB / 1.313 GB, free: 11.92 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.3754, allocations: 144.7 kB / 1.313 GB, free: 11.73 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3754, allocations: 0 / 1.313 GB, free: 11.73 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.3754, allocations: 11.92 kB / 1.313 GB, free: 11.72 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3754, allocations: 0 / 1.313 GB, free: 11.72 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.3754, allocations: 0 / 1.313 GB, free: 11.72 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3754, allocations: 0 / 1.313 GB, free: 11.72 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3754, allocations: 4 kB / 1.313 GB, free: 11.72 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3757, allocations: 257 kB / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.3757, allocations: 0 / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3757, allocations: 4 kB / 1.313 GB, free: 11.44 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.3758, allocations: 7.984 kB / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.3759, allocations: 8 kB / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.376, allocations: 0 / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.989e-05/0.376, allocations: 99.64 kB / 1.313 GB, free: 11.33 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.376, allocations: 32 / 1.313 GB, free: 11.33 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003293/0.3764, allocations: 71.81 kB / 1.313 GB, free: 11.26 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: 1 (cubSpl.i)
 * Number of discrete states: 1 (cubSpl.i)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (2):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0002978/0.3767, allocations: 147.9 kB / 1.313 GB, free: 11.11 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003852/0.3771, allocations: 230.7 kB / 1.314 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3771, allocations: 0 / 1.314 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.3772, allocations: 103.3 kB / 1.314 GB, free: 10.74 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.3774, allocations: 7.938 kB / 1.314 GB, free: 10.73 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.3778, allocations: 181.5 kB / 1.314 GB, free: 10.53 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.3782, allocations: 0.6807 MB / 1.315 GB, free: 9.824 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 1.635e-05/0.3782, allocations: 3.938 kB / 1.315 GB, free: 9.82 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.3782, allocations: 11.44 kB / 1.315 GB, free: 9.809 MB / 1.014 GB
Notification: Performance of SimCode: time 3.21e-07/0.3782, allocations: 0 / 1.315 GB, free: 9.809 MB / 1.014 GB
Notification: Performance of Templates: time 0.004979/0.3832, allocations: 1.789 MB / 1.316 GB, free: 8.055 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.442863176576793]