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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007197/0.007197, allocations: 98.64 kB / 15.73 MB, free: 6.039 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.001876/0.001876, allocations: 202.2 kB / 16.68 MB, free: 5.961 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.721/2.721, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 71.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2851, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002519/0.2877, allocations: 1.434 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.289, allocations: 0.7831 MB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.289, allocations: 0 / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.898e-05/0.2891, allocations: 3.938 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.2892, allocations: 3.984 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.2898, allocations: 183.2 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.2899, allocations: 35.98 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.332e-05/0.29, allocations: 15.97 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.29, allocations: 23.91 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.2901, allocations: 11.98 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.2901, allocations: 8 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.2905, allocations: 195.7 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.2905, allocations: 15.92 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.2906, allocations: 19.86 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.2909, allocations: 191.5 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2909, allocations: 0 / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2909, allocations: 0 / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.2909, allocations: 0 / 1.223 GB, free: 11.34 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.0005266/0.2914, allocations: 438.5 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2915, allocations: 12.03 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.2915, allocations: 30.75 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.2916, allocations: 12.89 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2917, allocations: 168.3 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.2917, allocations: 4.312 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.2917, allocations: 8.312 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.2919, allocations: 85.72 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2919, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.292, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.292, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.2921, allocations: 51.97 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.2925, allocations: 276.8 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.2926, allocations: 62.55 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.2927, allocations: 52.84 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.2928, allocations: 0 / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.2928, allocations: 38.56 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2928, allocations: 0 / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003979/0.2932, allocations: 183.3 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.2933, allocations: 77.11 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.2934, allocations: 125.8 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.2934, allocations: 25.7 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.2935, allocations: 92.12 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.2935, allocations: 7.984 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.2935, allocations: 21.72 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2937, allocations: 318.8 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.2938, allocations: 59.91 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.845e-05/0.2939, allocations: 63.95 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.2941, allocations: 189.9 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2941, allocations: 0 / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003023/0.2945, allocations: 221 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-05/0.2945, allocations: 63.41 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2945, allocations: 3.984 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2945, allocations: 0 / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/0.2946, allocations: 4 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2946, allocations: 0 / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.2947, allocations: 4 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.2947, allocations: 4 kB / 1.226 GB, free: 8.387 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.0001241/0.2948, allocations: 163.9 kB / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.2949, allocations: 3.953 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.2949, allocations: 7.906 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2949, allocations: 0 / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2949, allocations: 3.984 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2949, allocations: 0 / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.2951, allocations: 169.6 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2951, allocations: 4.047 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.2951, allocations: 8 kB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2951, allocations: 3.938 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2952, allocations: 8.234 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2952, allocations: 0 / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2952, allocations: 0 / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.2955, allocations: 253.1 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.2955, allocations: 85.05 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.2956, allocations: 3.984 kB / 1.226 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.2956, allocations: 4 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.2957, allocations: 19.95 kB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.2958, allocations: 0 / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.349e-05/0.2958, allocations: 95.27 kB / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2958, allocations: 0 / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003243/0.2962, allocations: 55.94 kB / 1.226 GB, free: 7.402 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.0007858/0.297, allocations: 0.8389 MB / 1.227 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.2973, allocations: 242.7 kB / 1.228 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2973, allocations: 0 / 1.228 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.2975, allocations: 99.38 kB / 1.228 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.2977, allocations: 11 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.2996, allocations: 1.756 MB / 1.229 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.2999, allocations: 0.6885 MB / 1.23 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.69e-05/0.3, allocations: 0 / 1.23 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.3, allocations: 15.44 kB / 1.23 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of SimCode: time 7.71e-07/0.3, allocations: 0 / 1.23 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.3234, allocations: 2.838 MB / 1.233 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.047, allocations: 4.375 kB / 1.233 GB, free: 0.9102 MB / 0.9825 GB (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 50 --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) 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) Reference file matches