Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009026/0.0009026, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008351/0.0008351, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8711/0.8711, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.742/1.742, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.272e-05, allocations: 6.219 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001704/0.001727, allocations: 1.452 MB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.002682, allocations: 0.7952 MB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.002709, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 6.485e-05/0.002774, allocations: 3.938 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.002822, allocations: 4 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.00333, allocations: 179.5 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.003433, allocations: 47.89 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.336e-05/0.003506, allocations: 4 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.003552, allocations: 23.98 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.003596, allocations: 15.92 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.00361, allocations: 4 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.00385, allocations: 215.6 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.003892, allocations: 12 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.003922, allocations: 19.92 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.004159, allocations: 235.5 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.004162, allocations: 0 / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004163, allocations: 0 / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.004167, allocations: 0 / 1.004 GB, free: 9.953 MB / 0.9636 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.0004657/0.004632, allocations: 357.3 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.004669, allocations: 12.73 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.004707, allocations: 8.922 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.264e-05/0.00479, allocations: 109.8 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.004801, allocations: 4.375 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.004812, allocations: 8.375 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.004971, allocations: 111.4 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.004978, allocations: 0 / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.004988, allocations: 0 / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.004992, allocations: 0 / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.483e-05/0.005067, allocations: 77.67 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.005348, allocations: 216.6 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.719e-05/0.005435, allocations: 92.19 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/0.005494, allocations: 82.55 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.005507, allocations: 0 / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.005524, allocations: 30.56 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.005525, allocations: 0 / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002713/0.005796, allocations: 242.7 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.00583, allocations: 81.11 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.163e-05/0.005902, allocations: 129.8 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.005912, allocations: 25.7 kB / 1.005 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.005949, allocations: 92.08 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.005963, allocations: 11.94 kB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.005995, allocations: 25.7 kB / 1.005 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.006064, allocations: 314.8 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.006144, allocations: 127.2 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.006215, allocations: 115.4 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.006348, allocations: 193.9 kB / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.00635, allocations: 3.938 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001856/0.006536, allocations: 280.4 kB / 1.006 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.00657, allocations: 63.39 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006575, allocations: 8.062 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.006586, allocations: 0 / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.228e-05/0.006638, allocations: 8 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.006645, allocations: 0 / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.006668, allocations: 7.953 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.006681, allocations: 4 kB / 1.007 GB, free: 6.855 MB / 0.9636 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 7.004e-05/0.006751, allocations: 155.4 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.006763, allocations: 0 / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.006784, allocations: 11.98 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006785, allocations: 4 kB / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.006791, allocations: 0 / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006793, allocations: 0 / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.265e-05/0.006876, allocations: 109.3 kB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.006879, allocations: 7.938 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.006891, allocations: 3.984 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.006893, allocations: 0 / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.006901, allocations: 8 kB / 1.007 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.006902, allocations: 0 / 1.007 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006903, allocations: 0 / 1.007 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.007069, allocations: 279.1 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.567e-06/0.007078, allocations: 15.89 kB / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.00709, allocations: 3.984 kB / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.473e-05/0.007125, allocations: 4 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.007189, allocations: 11.88 kB / 1.007 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.007194, allocations: 7.969 kB / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.007231, allocations: 95.27 kB / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007231, allocations: 0 / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001994/0.007431, allocations: 59.88 kB / 1.007 GB, free: 6.012 MB / 0.9636 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.0001812/0.007612, allocations: 163.2 kB / 1.007 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.007847, allocations: 319.8 kB / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.007848, allocations: 0 / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.007922, allocations: 129.1 kB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.008076, allocations: 10 kB / 1.008 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.00837, allocations: 240.2 kB / 1.008 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.923e-05/0.008419, allocations: 71.33 kB / 1.008 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.008438, allocations: 20.5 kB / 1.008 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.008439, allocations: 0 / 1.008 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of Templates: time 0.002174/0.01061, allocations: 1.501 MB / 1.01 GB, free: 3.457 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.620284696109593]