Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_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.001364/0.001364, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.662/2.662, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.11 kB / 0.9083 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2665, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002576/0.2691, allocations: 1.443 MB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2704, allocations: 0.7809 MB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.2704, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.627e-05/0.2705, allocations: 7.938 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.994e-05/0.2705, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006059/0.2711, allocations: 167.6 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.2713, allocations: 55.91 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.552e-05/0.2713, allocations: 8 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.2714, allocations: 19.92 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.2714, allocations: 11.98 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.2715, allocations: 4 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.2718, allocations: 203.7 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.2718, allocations: 7.938 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.2719, allocations: 23.86 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.2722, allocations: 195.9 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2722, allocations: 4 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2722, allocations: 0 / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.2722, allocations: 0 / 1.067 GB, free: 11.6 MB / 0.8262 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.0004677/0.2727, allocations: 430.7 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2727, allocations: 12.03 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.2727, allocations: 30.75 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.2728, allocations: 4.938 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2729, allocations: 172.2 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.2729, allocations: 4.359 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.2729, allocations: 8.375 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.2731, allocations: 81.73 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2731, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2732, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.2732, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.2733, allocations: 51.89 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.2737, allocations: 272.9 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.2738, allocations: 62.55 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.58e-05/0.2739, allocations: 44.91 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.2739, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.2739, allocations: 38.56 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2739, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003805/0.2743, allocations: 187.2 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.2744, allocations: 81.14 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.183e-05/0.2745, allocations: 125.8 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2745, allocations: 25.7 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.2746, allocations: 96.06 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.2746, allocations: 7.906 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.2746, allocations: 21.7 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2748, allocations: 318.8 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.2749, allocations: 63.97 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.275, allocations: 63.95 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.2752, allocations: 189.9 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2752, allocations: 3.938 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002824/0.2755, allocations: 216.9 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.2756, allocations: 63.39 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2756, allocations: 0 / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.2756, allocations: 0 / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.398e-05/0.2756, allocations: 4 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2756, allocations: 4 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.2757, allocations: 11.98 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2757, allocations: 4 kB / 1.069 GB, free: 8.652 MB / 0.8262 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.0001025/0.2758, allocations: 144 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.2759, allocations: 12.08 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.2759, allocations: 11.89 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.2759, allocations: 3.984 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2759, allocations: 0 / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2759, allocations: 4 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.2761, allocations: 173.6 kB / 1.069 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2761, allocations: 0 / 1.069 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.2761, allocations: 7.938 kB / 1.069 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2761, allocations: 0 / 1.069 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2762, allocations: 7.938 kB / 1.069 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2762, allocations: 0 / 1.069 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2762, allocations: 0 / 1.069 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.2764, allocations: 249.2 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.2765, allocations: 93 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.2765, allocations: 0 / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.2766, allocations: 4 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.2767, allocations: 7.984 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2767, allocations: 0 / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.459e-05/0.2768, allocations: 99.27 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2768, allocations: 0 / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003117/0.2771, allocations: 52 kB / 1.07 GB, free: 7.691 MB / 0.8262 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.0007351/0.2778, allocations: 0.8389 MB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003348/0.2782, allocations: 238.7 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2782, allocations: 0 / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.2783, allocations: 107.4 kB / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.2785, allocations: 11.94 kB / 1.071 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.2804, allocations: 1.748 MB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.2807, allocations: 0.6846 MB / 1.073 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.518e-05/0.2807, allocations: 0 / 1.073 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.2808, allocations: 15.44 kB / 1.073 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2808, allocations: 4 kB / 1.073 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.2986, allocations: 2.799 MB / 1.076 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.321/8.619, allocations: 16.8 kB / 1.076 GB, free: 1.219 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches