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.00113/0.00113, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008738/0.0008738, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9276/0.9276, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.813/1.813, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.831e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00236/0.002389, allocations: 1.456 MB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.003733, allocations: 0.7798 MB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.00379, allocations: 8 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.003892, allocations: 3.938 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.014e-05/0.003962, allocations: 0 / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008353/0.004797, allocations: 187.4 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.004953, allocations: 47.91 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.005066, allocations: 7.938 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.366e-05/0.00513, allocations: 23.98 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.005197, allocations: 19.97 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.005215, allocations: 0 / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.005547, allocations: 211.7 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.005612, allocations: 19.86 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.005652, allocations: 11.98 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.005958, allocations: 231.5 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.005961, allocations: 0 / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.064e-06/0.005964, allocations: 4 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.00597, allocations: 0 / 1.003 GB, free: 10.46 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.0007669/0.006737, allocations: 359.4 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 8.865e-05/0.006825, allocations: 12.75 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.728e-05/0.006882, allocations: 30.75 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.006923, allocations: 4.938 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.007076, allocations: 121.6 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.007095, allocations: 384 / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.007114, allocations: 4.375 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.007323, allocations: 111.2 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.007332, allocations: 0 / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.007345, allocations: 4 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.007352, allocations: 0 / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.249e-05/0.007434, allocations: 81.66 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.007803, allocations: 240 kB / 1.004 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.00791, allocations: 88.25 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.452e-05/0.007974, allocations: 74.61 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.00799, allocations: 3.938 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.008015, allocations: 30.56 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.008016, allocations: 0 / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.000328/0.008344, allocations: 246.7 kB / 1.004 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.008393, allocations: 85.09 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.008488, allocations: 121.8 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.008502, allocations: 25.7 kB / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.008553, allocations: 96.11 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.008571, allocations: 11.84 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.008609, allocations: 21.72 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.008712, allocations: 322.8 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.008813, allocations: 115.4 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-05/0.008896, allocations: 119.3 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.009053, allocations: 206 kB / 1.005 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.009057, allocations: 0 / 1.005 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002239/0.009281, allocations: 280.4 kB / 1.005 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.00933, allocations: 68.95 kB / 1.005 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.009336, allocations: 0 / 1.005 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.009352, allocations: 0 / 1.005 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.009417, allocations: 7.938 kB / 1.005 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.009425, allocations: 0 / 1.005 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.009454, allocations: 11.94 kB / 1.005 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.009465, allocations: 8 kB / 1.005 GB, free: 7.277 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 0.0001104/0.009575, allocations: 155.4 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.009589, allocations: 0 / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.009618, allocations: 8 kB / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.009619, allocations: 0 / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.009626, allocations: 0 / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.009629, allocations: 0 / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.009764, allocations: 144.7 kB / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.009765, allocations: 0 / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.009783, allocations: 0 / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.009786, allocations: 8 kB / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.009796, allocations: 240 / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.009798, allocations: 0 / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.009799, allocations: 0 / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.01001, allocations: 286.8 kB / 1.006 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.01002, allocations: 7.953 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.01004, allocations: 0 / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.01007, allocations: 7.984 kB / 1.006 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.01019, allocations: 7.938 kB / 1.006 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.0102, allocations: 4 kB / 1.006 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.01024, allocations: 103.3 kB / 1.006 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01024, allocations: 0 / 1.006 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002542/0.0105, allocations: 59.86 kB / 1.006 GB, free: 6.406 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.0005991/0.0111, allocations: 0.8641 MB / 1.007 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.01148, allocations: 323.8 kB / 1.007 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.01148, allocations: 0 / 1.007 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-05/0.01158, allocations: 133 kB / 1.007 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.01178, allocations: 12.09 kB / 1.007 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.01339, allocations: 2.036 MB / 1.009 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.379e-05/0.01345, allocations: 71.33 kB / 1.01 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.228e-05/0.01347, allocations: 3.906 kB / 1.01 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.01351, allocations: 20.5 kB / 1.01 GB, free: 2.688 MB / 0.9636 GB Notification: Performance of SimCode: time 9.21e-07/0.01351, allocations: 0 / 1.01 GB, free: 2.688 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.04845, allocations: 3.451 MB / 1.013 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.611/8.66, allocations: 9.594 kB / 1.013 GB, free: 15.41 MB / 0.9792 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv","/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: 13.210609789006412]