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.001511/0.001511, 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.002055/0.002055, allocations: 194.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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.334/2.334, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 71.88 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4978/0.4993, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001748/0.5011, allocations: 0.6155 MB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.5026, allocations: 1.384 MB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.328e-05/0.5027, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.337e-05/0.5027, allocations: 3.938 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.467e-05/0.5028, allocations: 4 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.5034, allocations: 179.6 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.041e-05/0.5035, allocations: 51.89 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.5035, allocations: 0 / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/0.5035, allocations: 19.98 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.5036, allocations: 31.89 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.5036, allocations: 4 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.5039, allocations: 191.7 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.504, allocations: 19.94 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.504, allocations: 23.98 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.5043, allocations: 189.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.5043, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5043, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.5043, allocations: 0 / 1.02 GB, free: 15.79 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.000373/0.5047, allocations: 438.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.5047, allocations: 8.031 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.5048, allocations: 34.69 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.5048, allocations: 16.84 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.5049, allocations: 168.4 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.5049, allocations: 8.312 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.505, allocations: 4.359 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.5051, allocations: 97.77 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.5051, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.5051, allocations: 4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5052, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.017e-05/0.5052, allocations: 59.95 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.5054, allocations: 181.5 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.959e-05/0.5055, allocations: 86.47 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.925e-05/0.5056, allocations: 64.89 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-06/0.5056, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.5056, allocations: 38.5 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.5056, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003405/0.506, allocations: 255.1 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.506, allocations: 85.12 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.5061, allocations: 137.8 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.5061, allocations: 33.64 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.5062, allocations: 96.03 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.5062, allocations: 11.84 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.5063, allocations: 29.7 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.132e-05/0.5064, allocations: 314.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.5065, allocations: 107.9 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.5066, allocations: 103.9 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.5068, allocations: 277.7 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5068, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003059/0.5071, allocations: 324.7 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.5072, allocations: 72.95 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.5072, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.5072, allocations: 7.984 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.5072, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.5072, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.5074, allocations: 7.906 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.5074, allocations: 8.062 kB / 1.023 GB, free: 12.47 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 9.382e-05/0.5075, allocations: 151.5 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.5075, allocations: 11.84 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.51e-05/0.5075, allocations: 8.234 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.5075, allocations: 3.938 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.5075, allocations: 4 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.5075, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.443e-05/0.5076, allocations: 169.6 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5077, allocations: 7.938 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.5077, allocations: 4 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5077, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.5077, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5077, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5077, allocations: 4 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.5079, allocations: 226.6 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.508, allocations: 88.98 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.508, allocations: 0 / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.92e-05/0.508, allocations: 8.031 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.5081, allocations: 12.12 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.5081, allocations: 7.984 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.283e-05/0.5082, allocations: 112.4 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.5082, allocations: 0 / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002613/0.5085, allocations: 60 kB / 1.024 GB, free: 11.5 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.0006072/0.5091, allocations: 0.8132 MB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.5094, allocations: 378.5 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5094, allocations: 0 / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.5096, allocations: 135.3 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.5097, allocations: 8.047 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.5114, allocations: 2.133 MB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.5116, allocations: 0.6924 MB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.08e-06/0.5117, allocations: 4 kB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.5117, allocations: 19.44 kB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5117, allocations: 0 / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.695/2.206, allocations: 3.264 MB / 1.031 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/10.36, allocations: 6.188 kB / 1.031 GB, free: 3.945 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