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.004716/0.004716, allocations: 98.11 kB / 15.73 MB, free: 6.012 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.001161/0.001162, allocations: 192.9 kB / 16.67 MB, free: 5.949 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.299/2.299, allocations: 390.2 MB / 0.6648 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.97 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2253, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002401/0.2277, allocations: 1.434 MB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2289, allocations: 0.7775 MB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.229, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.833e-05/0.229, allocations: 3.938 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.2291, allocations: 8 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.2297, allocations: 167.6 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.2299, allocations: 43.92 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.016e-05/0.23, allocations: 11.98 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.575e-05/0.23, allocations: 19.94 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.847e-05/0.2301, allocations: 23.89 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.2301, allocations: 4 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.2305, allocations: 195.7 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.2305, allocations: 7.984 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.2306, allocations: 23.88 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.2309, allocations: 191.7 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2309, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2309, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2309, allocations: 4 kB / 1.09 GB, free: 15.1 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.0005803/0.2315, allocations: 438.4 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.2316, allocations: 8.031 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.2316, allocations: 34.75 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.2317, allocations: 0.9375 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.2318, allocations: 180.2 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.2318, allocations: 16.11 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.2318, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.232, allocations: 77.66 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2321, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2321, allocations: 4 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2321, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.2322, allocations: 47.91 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.2327, allocations: 284.8 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.2328, allocations: 58.55 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.192e-05/0.2329, allocations: 48.91 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.2329, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.2329, allocations: 34.5 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.233, allocations: 0 / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000392/0.2333, allocations: 179.3 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.2334, allocations: 85.09 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.2335, allocations: 121.9 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.2335, allocations: 29.7 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.2336, allocations: 88.12 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.2336, allocations: 15.91 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.2337, allocations: 13.72 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2338, allocations: 326.8 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.2339, allocations: 55.97 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.284e-05/0.234, allocations: 59.95 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.2342, allocations: 197.8 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2342, allocations: 0 / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002734/0.2345, allocations: 213 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.2346, allocations: 61.12 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.2346, allocations: 12.03 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2346, allocations: 3.938 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.2347, allocations: 8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.2347, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.781e-05/0.2348, allocations: 15.89 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.2348, allocations: 7.938 kB / 1.093 GB, free: 12.12 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 0.0001141/0.2349, allocations: 149.5 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.2349, allocations: 4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.235, allocations: 3.906 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.235, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.235, allocations: 3.984 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.235, allocations: 3.938 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.2352, allocations: 173.6 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2352, allocations: 7.984 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.2352, allocations: 4 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2353, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2353, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2353, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2353, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.2356, allocations: 253.3 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.2356, allocations: 89.08 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.2356, allocations: 7.984 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.2357, allocations: 7.938 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.2359, allocations: 0 / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2359, allocations: 7.984 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.253e-05/0.236, allocations: 103.2 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.236, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003652/0.2363, allocations: 51.94 kB / 1.094 GB, free: 11.16 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.000693/0.237, allocations: 0.8355 MB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003158/0.2374, allocations: 238.7 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2374, allocations: 7.938 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2375, allocations: 107.3 kB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.2377, allocations: 8.094 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.2394, allocations: 1.747 MB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.2396, allocations: 0.6885 MB / 1.097 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.613e-05/0.2396, allocations: 4 kB / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.2396, allocations: 11.44 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.2397, allocations: 0 / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.2588, allocations: 2.827 MB / 1.1 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/7.56, allocations: 6.484 kB / 1.1 GB, free: 4.656 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