Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.001133/0.001133, allocations: 108 kB / 15.6 MB, free: 132 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.001251/0.001251, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.488/2.488, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.89 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5522/0.5535, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001774/0.5554, allocations: 0.6114 MB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.5572, allocations: 1.388 MB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.5572, allocations: 3.938 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.897e-05/0.5573, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.924e-05/0.5573, allocations: 11.92 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.558, allocations: 176.7 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.883e-05/0.5581, allocations: 51.95 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.5581, allocations: 0 / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.545e-05/0.5582, allocations: 19.98 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.5582, allocations: 23.91 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.5582, allocations: 4 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.5586, allocations: 199.8 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.5586, allocations: 15.88 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.5587, allocations: 19.88 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.5589, allocations: 193.8 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.559, allocations: 4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.559, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.559, allocations: 0 / 1.02 GB, free: 15.77 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.000475/0.5594, allocations: 438.7 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.5595, allocations: 15.97 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.5596, allocations: 30.75 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.5596, allocations: 8.844 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.5598, allocations: 164.4 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.5598, allocations: 8.312 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.5598, allocations: 4.375 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.56, allocations: 105.7 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.56, allocations: 3.938 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.5601, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.5601, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.327e-05/0.5602, allocations: 59.95 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.5603, allocations: 181.5 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.5604, allocations: 74.53 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.561e-05/0.5605, allocations: 72.89 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.5605, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.5606, allocations: 34.5 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.5606, allocations: 3.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003646/0.5609, allocations: 255.2 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.561, allocations: 77.11 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.5611, allocations: 143.2 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.5611, allocations: 29.7 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.5612, allocations: 96.06 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.5612, allocations: 15.84 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.5613, allocations: 29.7 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.5614, allocations: 318.8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.5615, allocations: 99.94 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.5616, allocations: 103.9 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.5619, allocations: 281.7 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5619, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003211/0.5622, allocations: 324.8 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.5623, allocations: 75.38 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5623, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.5623, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.5623, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5623, allocations: 3.984 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.5625, allocations: 7.906 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.5625, allocations: 8 kB / 1.023 GB, free: 12.45 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 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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.0001026/0.5626, allocations: 151.5 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.5626, allocations: 15.88 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/0.5626, allocations: 8.25 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5626, allocations: 7.938 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.5627, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.5627, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.5628, allocations: 169.6 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.5628, allocations: 3.938 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.5628, allocations: 3.938 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5628, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.5628, allocations: 4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.5628, allocations: 8 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5628, allocations: 3.938 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.5631, allocations: 226.8 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.5632, allocations: 88.98 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.5632, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-05/0.5632, allocations: 7.984 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.5633, allocations: 4 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.5633, allocations: 8 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.51e-05/0.5634, allocations: 114 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5634, allocations: 0 / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002774/0.5637, allocations: 67.98 kB / 1.024 GB, free: 11.46 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 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0006601/0.5643, allocations: 0.8092 MB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003665/0.5647, allocations: 374.7 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5647, allocations: 0 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.5649, allocations: 135.4 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.565, allocations: 9.188 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.5669, allocations: 2.133 MB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.5672, allocations: 0.6924 MB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.352e-06/0.5672, allocations: 0 / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.5672, allocations: 19.47 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5672, allocations: 0 / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.586, allocations: 3.273 MB / 1.031 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/7.515, allocations: 6.188 kB / 1.031 GB, free: 3.91 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_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_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches