Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007156/0.007156, allocations: 101.8 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 193 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.47 kB / 0.9504 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2245, allocations: 140.4 MB / 1.087 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002369/0.2269, allocations: 1.429 MB / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.2281, allocations: 0.7736 MB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.2281, allocations: 4 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.57e-05/0.2282, allocations: 3.938 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.2282, allocations: 7.938 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.2288, allocations: 180.1 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.2289, allocations: 39.98 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.122e-05/0.229, allocations: 11.98 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.2291, allocations: 15.94 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.492e-05/0.2291, allocations: 19.92 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.2291, allocations: 4 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.2294, allocations: 207.7 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.337e-05/0.2295, allocations: 11.92 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.2295, allocations: 19.88 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.2298, allocations: 190.5 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2298, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2298, allocations: 8 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.2298, allocations: 3.938 kB / 1.09 GB, free: 15.12 MB / 0.8575 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.0004781/0.2303, allocations: 427.6 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2304, allocations: 15.97 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.2304, allocations: 34.73 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.2304, allocations: 4.938 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2306, allocations: 164.3 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.2306, allocations: 8.125 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.2306, allocations: 4 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.2308, allocations: 89.58 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.2308, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.2308, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2308, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.2309, allocations: 43.97 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.2313, allocations: 288.8 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.2314, allocations: 62.48 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.098e-05/0.2315, allocations: 44.92 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.2315, allocations: 3.984 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2316, allocations: 34.56 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2316, allocations: 0 / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003735/0.2319, allocations: 183.2 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.232, allocations: 77.14 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.181e-05/0.2321, allocations: 129.8 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.2321, allocations: 25.7 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.2322, allocations: 84.14 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.2322, allocations: 19.83 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.2322, allocations: 17.72 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.023e-05/0.2323, allocations: 322.8 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/0.2324, allocations: 55.97 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.2325, allocations: 59.97 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.2327, allocations: 189.9 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2328, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002677/0.233, allocations: 224.9 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/0.2331, allocations: 61.12 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2331, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.2331, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.2332, allocations: 3.984 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2332, allocations: 7.938 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.2332, allocations: 8 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.2333, allocations: 7.938 kB / 1.093 GB, free: 12.17 MB / 0.8575 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 9.539e-05/0.2334, allocations: 147.5 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.2334, allocations: 7.906 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.2334, allocations: 3.906 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2334, allocations: 7.938 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2334, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.2335, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.2336, allocations: 177.6 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2336, allocations: 0 / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.2337, allocations: 8.047 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.2337, allocations: 4 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2337, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2337, allocations: 4 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2337, allocations: 0 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.234, allocations: 249.1 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.234, allocations: 93.22 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.234, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.2341, allocations: 7.984 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.2342, allocations: 7.984 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.2342, allocations: 0 / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.2343, allocations: 103.2 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2343, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003207/0.2346, allocations: 55.98 kB / 1.094 GB, free: 11.2 MB / 0.8575 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.000646/0.2353, allocations: 0.8356 MB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.2356, allocations: 238.7 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2356, allocations: 0 / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.2357, allocations: 103.4 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.236, allocations: 8.062 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.2377, allocations: 1.751 MB / 1.097 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.2379, allocations: 0.6885 MB / 1.097 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.2379, allocations: 4 kB / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.238, allocations: 11.44 kB / 1.097 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.238, allocations: 0 / 1.097 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.2557, allocations: 2.823 MB / 1.1 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.216/7.472, allocations: 18.5 kB / 1.1 GB, free: 4.695 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches