Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",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.00139/0.00139, 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.001507/0.001507, allocations: 193.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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.543/2.543, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 71.91 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.597/0.5988, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001852/0.6007, allocations: 0.6309 MB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004157/0.6011, allocations: 207 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.6012, allocations: 0 / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.6012, allocations: 3.938 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.6014, allocations: 11.92 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.6016, allocations: 71.7 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.328e-05/0.6017, allocations: 27.97 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.6017, allocations: 4 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/0.6018, allocations: 19.92 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.35e-05/0.6019, allocations: 19.92 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.6019, allocations: 4 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.602, allocations: 107.7 kB / 1.018 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.6021, allocations: 11.97 kB / 1.019 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.6021, allocations: 19.81 kB / 1.019 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.6023, allocations: 99.81 kB / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6023, allocations: 0 / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6023, allocations: 3.938 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.6023, allocations: 0 / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005005/0.6028, allocations: 369.6 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.6029, allocations: 12.03 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.6029, allocations: 34.73 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.6029, allocations: 0.9375 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.6031, allocations: 176.2 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.6031, allocations: 8.375 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.6031, allocations: 384 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.6032, allocations: 58.22 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.6033, allocations: 3.938 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.6033, allocations: 4 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.6033, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.6034, allocations: 31.97 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.6037, allocations: 252.9 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.6039, allocations: 70.47 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.803e-05/0.604, allocations: 28.92 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.604, allocations: 3.938 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.604, allocations: 34.56 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.604, allocations: 0 / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of matching and sorting (n=8): time 0.02802/0.6321, allocations: 1.609 MB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.6321, allocations: 55.41 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.6323, allocations: 125.7 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.899e-05/0.6323, allocations: 25.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.6324, allocations: 92.05 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.98e-05/0.6325, allocations: 23.7 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.6327, allocations: 21.72 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.6328, allocations: 326.8 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.6333, allocations: 143.9 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.6337, allocations: 132.3 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009704/0.6347, allocations: 304.9 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6347, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001166/0.6359, allocations: 333.6 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.6359, allocations: 4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6359, allocations: 4 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.636, allocations: 3.984 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.6376, allocations: 71.86 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.6376, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.639, allocations: 43.95 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.639, allocations: 7.984 kB / 1.023 GB, free: 12.66 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001691/0.6392, allocations: 117.7 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.018e-05/0.6393, allocations: 11.91 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.6394, allocations: 20.38 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6394, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6394, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.6395, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005723/0.6452, allocations: 0.8377 MB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.6452, allocations: 3.984 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.6464, allocations: 55.88 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.6464, allocations: 4 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.6464, allocations: 11.88 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.6464, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6465, allocations: 8.062 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009226/0.6474, allocations: 317 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.6474, allocations: 85.02 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/0.6475, allocations: 11.94 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.6486, allocations: 44 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.6486, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.6487, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.252e-05/0.6487, allocations: 99.3 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6488, allocations: 0 / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003922/0.6492, allocations: 92 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.001339/0.6505, allocations: 0.8741 MB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.6517, allocations: 251.8 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6517, allocations: 0 / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.6522, allocations: 92.08 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.6525, allocations: 9.719 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006385/0.6589, allocations: 2.673 MB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.6591, allocations: 0.6846 MB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004786/0.6596, allocations: 51.98 kB / 1.029 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.66, allocations: 19.53 kB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.6601, allocations: 0 / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.6867, allocations: 9.774 MB / 1.039 GB, free: 12.29 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.286/7.973, allocations: 9.844 kB / 1.039 GB, free: 12.28 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches