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.0016/0.0016, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002006/0.002006, allocations: 216.6 kB / 22.25 MB, free: 5.125 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.969 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.613/2.613, allocations: 476.7 MB / 0.7707 GB, free: 4.223 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.001984/0.001984, allocations: 65.55 kB / 1.117 GB, free: 39.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3191, allocations: 170 MB / 1.283 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002985/0.3221, allocations: 1.468 MB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3236, allocations: 0.8355 MB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.3236, allocations: 3.938 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.118e-05/0.3237, allocations: 7.922 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.3238, allocations: 0 / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007653/0.3245, allocations: 193.7 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3247, allocations: 43.92 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.011e-05/0.3248, allocations: 3.984 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.3248, allocations: 12 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.104e-05/0.3249, allocations: 27.91 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.3249, allocations: 4 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.3253, allocations: 227.6 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.3254, allocations: 11.92 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.3254, allocations: 23.94 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.3258, allocations: 191.5 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3258, allocations: 0 / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3258, allocations: 0 / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.3258, allocations: 0 / 1.286 GB, free: 8.285 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.0005558/0.3263, allocations: 361.4 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3264, allocations: 12.03 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.3264, allocations: 30.75 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.3265, allocations: 8.891 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.3266, allocations: 118.5 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3266, allocations: 4.375 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.3266, allocations: 8.312 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.3268, allocations: 81.78 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.3268, allocations: 0 / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3268, allocations: 4 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3269, allocations: 0 / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.327, allocations: 47.97 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.3274, allocations: 251.9 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.3276, allocations: 62.48 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.78e-05/0.3276, allocations: 44.91 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.3277, allocations: 0 / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.3277, allocations: 30.56 kB / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.3277, allocations: 0 / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004083/0.3281, allocations: 191.2 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.3281, allocations: 81.11 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3283, allocations: 133.7 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.3283, allocations: 25.7 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.3284, allocations: 88.14 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.3284, allocations: 7.891 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.3284, allocations: 25.7 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3286, allocations: 314.8 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.992e-05/0.3287, allocations: 63.91 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3288, allocations: 63.95 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.329, allocations: 189.9 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.329, allocations: 0 / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003015/0.3293, allocations: 217 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.44e-05/0.3294, allocations: 67.39 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3294, allocations: 0 / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3294, allocations: 7.938 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.3294, allocations: 4 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3294, allocations: 0 / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/0.3295, allocations: 7.984 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.3295, allocations: 4 kB / 1.289 GB, free: 5.52 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.0001298/0.3296, allocations: 151.5 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.3297, allocations: 3.953 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.3297, allocations: 8 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3297, allocations: 0 / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3297, allocations: 4 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3297, allocations: 0 / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.3299, allocations: 148.7 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3299, allocations: 0 / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.3299, allocations: 4.062 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3299, allocations: 4 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3299, allocations: 3.984 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3299, allocations: 0 / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3299, allocations: 3.938 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.3302, allocations: 261.3 kB / 1.289 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.3302, allocations: 3.953 kB / 1.289 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.3303, allocations: 4 kB / 1.289 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.3303, allocations: 7.984 kB / 1.289 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.3305, allocations: 4 kB / 1.289 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.3305, allocations: 4 kB / 1.289 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.286e-05/0.3305, allocations: 91.7 kB / 1.289 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3305, allocations: 4.031 kB / 1.289 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003308/0.3309, allocations: 67.86 kB / 1.29 GB, free: 4.672 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.0008503/0.3317, allocations: 0.8233 MB / 1.29 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003506/0.3321, allocations: 234.7 kB / 1.291 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3321, allocations: 4.031 kB / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.3322, allocations: 103.4 kB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.3324, allocations: 4.328 kB / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.3344, allocations: 1.76 MB / 1.292 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3347, allocations: 0.6924 MB / 1.293 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.3348, allocations: 3.938 kB / 1.293 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.3348, allocations: 15.44 kB / 1.293 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.3348, allocations: 0 / 1.293 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.3642, allocations: 2.893 MB / 1.296 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.55, allocations: 6.234 kB / 1.296 GB, free: 14.12 MB / 0.9981 GB " [Timeout remaining time 289] (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: 16.840511219999826]