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.000819/0.000819, 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.0008184/0.0008184, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8565/0.8565, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.611/1.611, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.346e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002224/0.002237, allocations: 1.456 MB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003415, allocations: 0.7874 MB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.546e-05/0.003501, allocations: 0 / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 6.808e-05/0.003569, allocations: 0 / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.205e-05/0.003621, allocations: 3.938 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006398/0.004261, allocations: 188.3 kB / 0.9529 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.004375, allocations: 43.97 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.641e-05/0.004452, allocations: 3.984 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.482e-05/0.004507, allocations: 23.92 kB / 0.953 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.581e-05/0.004562, allocations: 19.97 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.004578, allocations: 4 kB / 0.953 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.004888, allocations: 207.7 kB / 0.9532 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.004934, allocations: 15.92 kB / 0.9532 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.004965, allocations: 8 kB / 0.9532 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.005246, allocations: 243.4 kB / 0.9534 GB, free: 476 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005248, allocations: 0 / 0.9534 GB, free: 476 kB / 0.9011 GB Notification: Performance of FrontEnd: time 7.12e-07/0.005249, allocations: 0 / 0.9534 GB, free: 476 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.005253, allocations: 0 / 0.9534 GB, free: 476 kB / 0.9011 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.0004149/0.005668, allocations: 353.4 kB / 0.9538 GB, free: 80 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.005703, allocations: 11.97 kB / 0.9538 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.747e-05/0.00573, allocations: 34.75 kB / 0.9538 GB, free: 24 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.005758, allocations: 8.828 kB / 0.9538 GB, free: 16 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.005858, allocations: 125.6 kB / 0.954 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.005872, allocations: 8.359 kB / 0.954 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.005881, allocations: 384 / 0.954 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.006052, allocations: 111.9 kB / 0.9541 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.00606, allocations: 192 / 0.9541 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.006071, allocations: 4.125 kB / 0.9541 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.006074, allocations: 0 / 0.9541 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.00624, allocations: 77.66 kB / 0.9541 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.006574, allocations: 240 kB / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.006681, allocations: 80.25 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.006756, allocations: 78.55 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.006769, allocations: 4 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.006825, allocations: 42.55 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 2.785e-06/0.006828, allocations: 0 / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0003711/0.007199, allocations: 246.6 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.007236, allocations: 77.11 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.007319, allocations: 125.8 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.007331, allocations: 25.7 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.007368, allocations: 84.14 kB / 0.9551 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.007381, allocations: 7.953 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.007423, allocations: 21.72 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.007504, allocations: 322.9 kB / 0.9554 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.007607, allocations: 115.4 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.716e-05/0.007704, allocations: 123.4 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.007878, allocations: 198 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.00788, allocations: 0 / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002474/0.008128, allocations: 288.2 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.008165, allocations: 62.06 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.008169, allocations: 0 / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.008182, allocations: 8 kB / 0.9562 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.859e-05/0.008231, allocations: 3.984 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.008235, allocations: 0 / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.008272, allocations: 15.88 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.008282, allocations: 0 / 0.9562 GB, free: 13.29 MB / 0.9167 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 8.391e-05/0.008366, allocations: 147.5 kB / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.008391, allocations: 11.89 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.98e-05/0.008411, allocations: 4 kB / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.008412, allocations: 0 / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.008416, allocations: 4 kB / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.008418, allocations: 4 kB / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.00855, allocations: 136.7 kB / 0.9565 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.008552, allocations: 7.875 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.00857, allocations: 4 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.008571, allocations: 0 / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.008581, allocations: 7.984 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.008582, allocations: 0 / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008583, allocations: 0 / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.008801, allocations: 279 kB / 0.9568 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-06/0.008808, allocations: 7.922 kB / 0.9568 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.008823, allocations: 8.031 kB / 0.9568 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.624e-05/0.008879, allocations: 7.984 kB / 0.9568 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.008953, allocations: 4 kB / 0.9568 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.008959, allocations: 4 kB / 0.9568 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.053e-05/0.00901, allocations: 99.69 kB / 0.9569 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.00901, allocations: 0 / 0.9569 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003029/0.009313, allocations: 55.94 kB / 0.957 GB, free: 12.42 MB / 0.9167 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.0005591/0.009872, allocations: 0.8717 MB / 0.9578 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002887/0.01016, allocations: 327.8 kB / 0.9581 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01016, allocations: 0 / 0.9581 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.01026, allocations: 129.1 kB / 0.9583 GB, free: 11 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.01048, allocations: 8.266 kB / 0.9583 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.0122, allocations: 2.055 MB / 0.9603 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.632e-05/0.01226, allocations: 71.33 kB / 0.9603 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.728e-05/0.01228, allocations: 4.062 kB / 0.9603 GB, free: 8.695 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.01231, allocations: 12.5 kB / 0.9604 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/0.01231, allocations: 0 / 0.9604 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.02827, allocations: 3.461 MB / 0.9637 GB, free: 5.414 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.217/7.245, allocations: 12.58 kB / 0.9638 GB, free: 5.406 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.178147232159972]