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.001371/0.001372, allocations: 108 kB / 15.61 MB, free: 152 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.001462/0.001462, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.395 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.438/2.438, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5627/0.5641, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002671/0.5668, allocations: 1.435 MB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.5681, allocations: 0.7839 MB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.5681, allocations: 4 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.729e-05/0.5682, allocations: 7.922 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.5682, allocations: 0 / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.5689, allocations: 169.4 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.569, allocations: 51.91 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.148e-05/0.5691, allocations: 11.98 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.5691, allocations: 15.92 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/0.5692, allocations: 15.98 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.5692, allocations: 4 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.5695, allocations: 199.7 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.5696, allocations: 11.92 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.5696, allocations: 23.86 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.5699, allocations: 185.9 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.5699, allocations: 3.938 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5699, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.5699, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 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.0004644/0.5704, allocations: 432.3 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.5705, allocations: 16.02 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.5705, allocations: 30.75 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.5705, allocations: 8.844 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.5706, allocations: 164.3 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.5707, allocations: 8.375 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.5707, allocations: 384 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.5708, allocations: 85.77 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.5709, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-06/0.5709, allocations: 7.875 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.5709, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.571, allocations: 47.91 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.5714, allocations: 284.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.5715, allocations: 54.55 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.736e-05/0.5716, allocations: 48.91 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.5716, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.5716, allocations: 30.56 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.5716, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003685/0.572, allocations: 191.3 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.5721, allocations: 81.09 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.5722, allocations: 121.8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.5722, allocations: 29.7 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.5722, allocations: 88.12 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.5723, allocations: 7.906 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.5723, allocations: 21.72 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5724, allocations: 322.8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.5725, allocations: 60 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.207e-05/0.5726, allocations: 51.97 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.5729, allocations: 201.8 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5729, allocations: 0 / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002795/0.5732, allocations: 217.1 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.5732, allocations: 59.41 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5732, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.5733, allocations: 4 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.5733, allocations: 7.984 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.5733, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.5734, allocations: 15.84 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.5734, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 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.0001008/0.5735, allocations: 151.5 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.5735, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.5736, allocations: 7.906 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.5736, allocations: 3.938 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5736, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.5736, allocations: 4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.5738, allocations: 173.6 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5738, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.5738, allocations: 11.92 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.5739, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.5739, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5739, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5739, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.5742, allocations: 257 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.5742, allocations: 85.02 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.5742, allocations: 4 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.5743, allocations: 7.984 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.5744, allocations: 240 / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.5744, allocations: 4 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.814e-05/0.5745, allocations: 103.2 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5745, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003208/0.5748, allocations: 60.03 kB / 1.024 GB, free: 11.6 MB / 0.7794 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.0006999/0.5755, allocations: 0.8311 MB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.5759, allocations: 238.7 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5759, allocations: 4.031 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.576, allocations: 111.3 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.5762, allocations: 4.766 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.578, allocations: 1.753 MB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.5782, allocations: 0.6923 MB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.496e-05/0.5783, allocations: 4 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.5783, allocations: 11.44 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.5783, allocations: 0 / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.607, allocations: 2.791 MB / 1.03 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.152/7.759, allocations: 17.47 kB / 1.03 GB, free: 5.125 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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