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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001657/0.001657, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001742/0.001742, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.427/2.427, allocations: 437 MB / 0.71 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.84 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5617/0.563, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001613/0.5646, allocations: 0.6801 MB / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.5662, allocations: 1.408 MB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.5663, allocations: 3.938 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.561e-05/0.5663, allocations: 3.938 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.689e-05/0.5664, allocations: 7.984 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.5668, allocations: 135.8 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.604e-05/0.5669, allocations: 31.97 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.5669, allocations: 19.86 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.567, allocations: 15.92 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.567, allocations: 27.97 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.5671, allocations: 0 / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.5673, allocations: 191.7 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.5674, allocations: 15.92 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.5674, allocations: 23.86 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.5677, allocations: 189.9 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5677, allocations: 0 / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5677, allocations: 0 / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.307e-06/0.5677, allocations: 0 / 1.019 GB, free: 24 kB / 0.7637 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.0003993/0.5681, allocations: 444.7 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.5681, allocations: 8.031 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/0.5682, allocations: 34.75 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.5682, allocations: 12.78 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.5683, allocations: 168.3 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.5683, allocations: 8.312 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.5684, allocations: 4.375 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.5685, allocations: 101.8 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.5685, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.5686, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-06/0.5686, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.644e-05/0.5687, allocations: 63.94 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.5688, allocations: 169.6 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.5689, allocations: 86.47 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.793e-05/0.569, allocations: 68.89 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-06/0.569, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.569, allocations: 46.48 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.5691, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003641/0.5694, allocations: 251.2 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.5695, allocations: 81.11 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.5696, allocations: 143.4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.5696, allocations: 29.73 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.5697, allocations: 92.05 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.5697, allocations: 11.89 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.5697, allocations: 29.66 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.5698, allocations: 318.8 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.57, allocations: 99.94 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.5701, allocations: 107.9 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.5703, allocations: 277.8 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5704, allocations: 4.031 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003364/0.5707, allocations: 328.7 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.5708, allocations: 72.89 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/0.5708, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.5708, allocations: 4 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.5708, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5708, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.5709, allocations: 15.78 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.5709, allocations: 7.984 kB / 1.022 GB, free: 12.7 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.0001077/0.571, allocations: 156.1 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.5711, allocations: 15.78 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.13e-05/0.5711, allocations: 4.25 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.5711, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5711, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.5711, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.5712, allocations: 169.6 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5712, allocations: 7.938 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.5712, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.5712, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.5713, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5713, allocations: 4 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5713, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.5715, allocations: 226.6 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.5716, allocations: 88.95 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.5716, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.193e-05/0.5717, allocations: 11.98 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.5717, allocations: 12.06 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.5717, allocations: 4 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.686e-05/0.5718, allocations: 107.3 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5718, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002702/0.5721, allocations: 63.98 kB / 1.023 GB, free: 11.73 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.000662/0.5727, allocations: 0.8169 MB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003744/0.5731, allocations: 378.7 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5731, allocations: 3.938 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.5733, allocations: 135.3 kB / 1.024 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.5734, allocations: 9.875 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.5755, allocations: 2.13 MB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.5758, allocations: 0.6889 MB / 1.027 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.214e-06/0.5758, allocations: 0 / 1.027 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.5758, allocations: 31.39 kB / 1.027 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.5758, allocations: 0 / 1.027 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.5887, allocations: 3.034 MB / 1.03 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.5889, allocations: 215.1 kB / 1.03 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.374, allocations: 0 / 1.03 GB, free: 4.164 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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