Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001571/0.001571, allocations: 111 kB / 16.46 MB, free: 6.453 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.001871/0.001871, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.461/1.461, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.611/2.611, allocations: 476.7 MB / 0.7672 GB, free: 5.191 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [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.002001/0.002001, allocations: 67.89 kB / 1.112 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8513/0.8533, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002709/0.856, allocations: 1.457 MB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.8575, allocations: 0.8393 MB / 1.281 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.8575, allocations: 0 / 1.281 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.97e-05/0.8576, allocations: 3.938 kB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/0.8576, allocations: 4 kB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.8583, allocations: 173.4 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.8584, allocations: 43.95 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.272e-05/0.8585, allocations: 4 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.8585, allocations: 27.86 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.8586, allocations: 15.92 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.8586, allocations: 8 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.8589, allocations: 215.7 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.578e-05/0.859, allocations: 8 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.859, allocations: 19.86 kB / 1.281 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.8593, allocations: 191.5 kB / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8593, allocations: 0 / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8593, allocations: 4 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.8593, allocations: 0 / 1.281 GB, free: 10.36 MB / 0.9825 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.0005612/0.8599, allocations: 434.4 kB / 1.282 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.8599, allocations: 16.03 kB / 1.282 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.8599, allocations: 34.75 kB / 1.282 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.86, allocations: 8.891 kB / 1.282 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.8601, allocations: 168.3 kB / 1.282 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.8601, allocations: 4.375 kB / 1.282 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.8601, allocations: 384 / 1.282 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.8603, allocations: 85.73 kB / 1.282 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.8603, allocations: 0 / 1.282 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.8603, allocations: 0 / 1.282 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.8604, allocations: 0 / 1.282 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.8605, allocations: 51.95 kB / 1.282 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.8609, allocations: 288.8 kB / 1.282 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.861, allocations: 54.55 kB / 1.282 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/0.8611, allocations: 48.86 kB / 1.282 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.8611, allocations: 3.984 kB / 1.282 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.8611, allocations: 42.55 kB / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.8611, allocations: 0 / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004006/0.8615, allocations: 179.3 kB / 1.283 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.8616, allocations: 77.11 kB / 1.283 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.8617, allocations: 121.8 kB / 1.283 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.8618, allocations: 29.7 kB / 1.283 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.8618, allocations: 88.09 kB / 1.283 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.8618, allocations: 19.97 kB / 1.283 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.8619, allocations: 17.72 kB / 1.283 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.862, allocations: 322.8 kB / 1.283 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.8621, allocations: 63.84 kB / 1.283 GB, free: 8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.546e-05/0.8622, allocations: 55.97 kB / 1.283 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.8625, allocations: 193.9 kB / 1.284 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.8625, allocations: 0 / 1.284 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002957/0.8627, allocations: 221 kB / 1.284 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/0.8628, allocations: 59.41 kB / 1.284 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.8628, allocations: 7.938 kB / 1.284 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.8628, allocations: 3.984 kB / 1.284 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.8629, allocations: 4.062 kB / 1.284 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8629, allocations: 4 kB / 1.284 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.8629, allocations: 8 kB / 1.284 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.8629, allocations: 0 / 1.284 GB, free: 7.402 MB / 0.9825 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.0001266/0.8631, allocations: 159.4 kB / 1.284 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.8631, allocations: 7.953 kB / 1.284 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.8631, allocations: 3.906 kB / 1.284 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.8631, allocations: 7.984 kB / 1.284 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8631, allocations: 0 / 1.284 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.8631, allocations: 0 / 1.284 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.8633, allocations: 173.6 kB / 1.284 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.8633, allocations: 0 / 1.284 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.8633, allocations: 4 kB / 1.284 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.8634, allocations: 0 / 1.284 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.8634, allocations: 0 / 1.284 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8634, allocations: 8 kB / 1.284 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8634, allocations: 0 / 1.284 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.8636, allocations: 245.1 kB / 1.284 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.8637, allocations: 92.98 kB / 1.284 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.8637, allocations: 0 / 1.284 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.8638, allocations: 4 kB / 1.284 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.8639, allocations: 11.92 kB / 1.284 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.8639, allocations: 4.031 kB / 1.285 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.539e-05/0.8639, allocations: 99.27 kB / 1.285 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8639, allocations: 0 / 1.285 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002984/0.8642, allocations: 55.88 kB / 1.285 GB, free: 6.426 MB / 0.9825 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.0007466/0.865, allocations: 0.8389 MB / 1.285 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.8653, allocations: 238.7 kB / 1.286 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.8653, allocations: 0 / 1.286 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.8655, allocations: 103.4 kB / 1.286 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.8657, allocations: 0 / 1.286 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.8675, allocations: 1.76 MB / 1.288 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.8678, allocations: 0.6849 MB / 1.288 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.886e-05/0.8679, allocations: 0 / 1.288 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.8679, allocations: 19.42 kB / 1.288 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.8679, allocations: 3.938 kB / 1.288 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.8939, allocations: 2.792 MB / 1.291 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.764, allocations: 15.73 kB / 1.291 GB, free: 15.97 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.63667778391391]