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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 104.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002401/0.002401, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.598/1.598, allocations: 230.5 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.363/3.363, allocations: 0.4899 GB / 0.7915 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 69.59 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3659, allocations: 176.1 MB / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002818/0.3687, allocations: 1.455 MB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.3702, allocations: 0.8375 MB / 1.323 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.3702, allocations: 4 kB / 1.323 GB, free: 500 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.858e-05/0.3703, allocations: 0 / 1.323 GB, free: 500 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.3703, allocations: 7.922 kB / 1.324 GB, free: 492 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.371, allocations: 174.9 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.3711, allocations: 47.91 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.753e-05/0.3712, allocations: 7.938 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.3712, allocations: 27.91 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.3713, allocations: 15.92 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3713, allocations: 4 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.3717, allocations: 207.7 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.3718, allocations: 12.05 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.3718, allocations: 23.8 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.3721, allocations: 187.5 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3721, allocations: 0 / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3721, allocations: 3.938 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3721, allocations: 0 / 1.324 GB, free: 15.79 MB / 1.029 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.0006344/0.3727, allocations: 434.4 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3728, allocations: 15.98 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.3728, allocations: 4.891 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.373, allocations: 172.3 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.373, allocations: 4.359 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.373, allocations: 8.375 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.3732, allocations: 73.98 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3732, allocations: 0 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3732, allocations: 0 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3732, allocations: 4 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.3734, allocations: 47.95 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.3738, allocations: 288.8 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3739, allocations: 54.55 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/0.374, allocations: 44.91 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.374, allocations: 0 / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.3741, allocations: 34.56 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3741, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004366/0.3745, allocations: 195.2 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.3746, allocations: 81.11 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.3747, allocations: 125.8 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.3747, allocations: 25.7 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.3748, allocations: 88.14 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.3748, allocations: 7.938 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.3748, allocations: 25.66 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.375, allocations: 318.9 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.3751, allocations: 59.95 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3752, allocations: 55.97 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.3755, allocations: 205.9 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3755, allocations: 0 / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003326/0.3758, allocations: 220.9 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.927e-05/0.3759, allocations: 59.41 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3759, allocations: 4 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3759, allocations: 0 / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.376, allocations: 7.984 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.376, allocations: 0 / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.376, allocations: 7.938 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.376, allocations: 7.984 kB / 1.327 GB, free: 12.87 MB / 1.029 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.0001268/0.3762, allocations: 151.5 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.3762, allocations: 7.953 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.404e-05/0.3763, allocations: 7.906 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3763, allocations: 4 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3763, allocations: 3.984 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3763, allocations: 0 / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.3765, allocations: 173.6 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3765, allocations: 3.984 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.977e-05/0.3765, allocations: 0 / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3765, allocations: 4 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3766, allocations: 0 / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3766, allocations: 0 / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3766, allocations: 3.938 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.3769, allocations: 249.1 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.3769, allocations: 85.05 kB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.377, allocations: 4 kB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.377, allocations: 0 / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3771, allocations: 15.97 kB / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3771, allocations: 8 kB / 1.327 GB, free: 12.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.646e-05/0.3772, allocations: 95.23 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3772, allocations: 4 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003278/0.3776, allocations: 63.88 kB / 1.328 GB, free: 11.88 MB / 1.029 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.0002823/0.3778, allocations: 147.1 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003654/0.3782, allocations: 234.7 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3782, allocations: 0 / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.3783, allocations: 103.4 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.3785, allocations: 13.88 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.379, allocations: 189.2 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.3795, allocations: 0.6846 MB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.65e-05/0.3795, allocations: 0 / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.3795, allocations: 7.438 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3795, allocations: 0 / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of Templates: time 0.005243/0.3848, allocations: 1.716 MB / 1.331 GB, free: 8.738 MB / 1.029 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.287881101947278]