Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_10_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.001727/0.001727, allocations: 108.6 kB / 15.73 MB, free: 76 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.00198/0.001981, allocations: 187.7 kB / 16.66 MB, free: 6.59 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.432/2.432, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2611, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002248/0.2634, allocations: 1.44 MB / 1.168 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.2645, allocations: 0.78 MB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.2646, allocations: 0 / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.679e-05/0.2646, allocations: 3.938 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.166e-05/0.2647, allocations: 4 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.2653, allocations: 175.4 kB / 1.169 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.2654, allocations: 47.91 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.869e-05/0.2654, allocations: 4 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.496e-05/0.2655, allocations: 15.98 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.685e-05/0.2655, allocations: 19.91 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.2656, allocations: 4 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.2659, allocations: 215.7 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.2659, allocations: 4 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.266, allocations: 23.86 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.2662, allocations: 195.7 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2662, allocations: 4 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2662, allocations: 0 / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.2662, allocations: 0 / 1.169 GB, free: 4.387 MB / 0.92 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.0004514/0.2667, allocations: 430.5 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2667, allocations: 8.031 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.2668, allocations: 38.75 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.2668, allocations: 4.891 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.2669, allocations: 180.2 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.2669, allocations: 384 / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.267, allocations: 4.375 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.2671, allocations: 77.73 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2671, allocations: 3.984 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.2672, allocations: 4 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2672, allocations: 4 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.2673, allocations: 51.95 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.2676, allocations: 276.9 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.2677, allocations: 54.56 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.2678, allocations: 48.84 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.2679, allocations: 4 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.2679, allocations: 34.56 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.2679, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003475/0.2682, allocations: 187.3 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.2683, allocations: 81.11 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.029e-05/0.2684, allocations: 129.7 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.2684, allocations: 25.7 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.2685, allocations: 88.14 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.2685, allocations: 3.953 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.2685, allocations: 29.73 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.2686, allocations: 322.8 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-05/0.2687, allocations: 59.89 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.277e-05/0.2688, allocations: 55.97 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.269, allocations: 193.9 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.269, allocations: 0 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000252/0.2693, allocations: 217 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.2693, allocations: 67.39 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2693, allocations: 0 / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2694, allocations: 0 / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.238e-05/0.2694, allocations: 4.062 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2694, allocations: 7.938 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.2695, allocations: 11.92 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.2695, allocations: 4 kB / 1.172 GB, free: 1.43 MB / 0.92 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.49e-05/0.2696, allocations: 155.4 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.2696, allocations: 11.95 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.2697, allocations: 7.906 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2697, allocations: 0 / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2697, allocations: 0 / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2697, allocations: 0 / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.2698, allocations: 173.6 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2698, allocations: 0 / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.2699, allocations: 4 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2699, allocations: 4 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.2699, allocations: 0 / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2699, allocations: 3.984 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2699, allocations: 4 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.2701, allocations: 249.1 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.2702, allocations: 77.11 kB / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.2702, allocations: 0 / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.2703, allocations: 7.938 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.2704, allocations: 15.92 kB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.2704, allocations: 8.031 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.2704, allocations: 91.27 kB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2704, allocations: 0 / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000279/0.2707, allocations: 63.92 kB / 1.172 GB, free: 468 kB / 0.92 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.0006127/0.2713, allocations: 0.835 MB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.2716, allocations: 238.9 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2717, allocations: 0 / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.2718, allocations: 103.4 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.272, allocations: 4 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.2735, allocations: 1.754 MB / 1.175 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.2738, allocations: 0.6884 MB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.943e-05/0.2738, allocations: 8 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.2738, allocations: 11.44 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.2738, allocations: 0 / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.2921, allocations: 2.819 MB / 1.179 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/7.201, allocations: 16.88 kB / 1.179 GB, free: 9.977 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches