Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_9_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.00699/0.00699, allocations: 102.8 kB / 15.74 MB, free: 5.551 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.00161/0.00161, allocations: 194.2 kB / 16.67 MB, free: 5.48 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.589/1.589, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 63.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8558/0.8577, allocations: 140.4 MB / 1.088 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001742/0.8595, allocations: 0.632 MB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004264/0.8599, allocations: 207.4 kB / 1.088 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.86, allocations: 1.094 kB / 1.088 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.86, allocations: 3.938 kB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.8602, allocations: 12.28 kB / 1.088 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.8604, allocations: 71.56 kB / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.569e-05/0.8604, allocations: 27.25 kB / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.8605, allocations: 2.625 kB / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.365e-05/0.8605, allocations: 17.34 kB / 1.088 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.8606, allocations: 23.27 kB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.8606, allocations: 6.156 kB / 1.088 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.8608, allocations: 105 kB / 1.089 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.8608, allocations: 16.38 kB / 1.089 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.8609, allocations: 12.89 kB / 1.089 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.8611, allocations: 100.8 kB / 1.089 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.8611, allocations: 1.156 kB / 1.089 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8611, allocations: 3.938 kB / 1.089 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8611, allocations: 0 / 1.089 GB, free: 4.605 MB / 0.8575 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.0004978/0.8616, allocations: 370.9 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.8617, allocations: 10.56 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.8617, allocations: 36.36 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.8617, allocations: 7.078 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.8619, allocations: 175.4 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.8619, allocations: 1.5 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.8619, allocations: 2.656 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.8621, allocations: 56.5 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.8621, allocations: 8.938 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.8621, allocations: 0 / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.8621, allocations: 5.141 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.8623, allocations: 34.06 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.8625, allocations: 251.8 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.8627, allocations: 70.92 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.223e-05/0.8628, allocations: 25.42 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.8628, allocations: 1.531 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.8628, allocations: 32.14 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.8628, allocations: 0 / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.02928/0.8921, allocations: 1.615 MB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.8922, allocations: 56.83 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.8923, allocations: 120.5 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.642e-05/0.8924, allocations: 26.55 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.8925, allocations: 91.59 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.121e-05/0.8925, allocations: 29.27 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.8928, allocations: 27.81 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.183e-05/0.8928, allocations: 322.6 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.8934, allocations: 141.1 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/0.8939, allocations: 141.5 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.895, allocations: 295.6 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.895, allocations: 0.75 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001288/0.8963, allocations: 331.6 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.8964, allocations: 9.5 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8964, allocations: 4.75 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.8964, allocations: 1.266 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.8981, allocations: 64.23 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.8981, allocations: 0.625 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.8996, allocations: 46.16 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/0.8997, allocations: 3.516 kB / 1.093 GB, free: 2.391 MB / 0.8575 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.0001685/0.8999, allocations: 121.5 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.9, allocations: 6.906 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.9001, allocations: 19.59 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.9001, allocations: 0.875 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9001, allocations: 0.7188 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.9001, allocations: 4.734 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006253/0.9064, allocations: 0.8426 MB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.9064, allocations: 3.938 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.9076, allocations: 57.56 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.9077, allocations: 0.9375 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.9077, allocations: 7.203 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.9077, allocations: 9.172 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9077, allocations: 5.156 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009864/0.9087, allocations: 320.8 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.9088, allocations: 85.2 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.956e-05/0.9088, allocations: 5.594 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.91, allocations: 39.77 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.91, allocations: 4.656 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.9101, allocations: 4.688 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.116e-05/0.9101, allocations: 96.33 kB / 1.095 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.9101, allocations: 0 / 1.095 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004808/0.9106, allocations: 92.06 kB / 1.095 GB, free: 1.457 MB / 0.8575 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.00134/0.912, allocations: 0.8831 MB / 1.095 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.913, allocations: 240.5 kB / 1.096 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.913, allocations: 0.9688 kB / 1.096 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004443/0.9135, allocations: 95.91 kB / 1.096 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.9138, allocations: 11.77 kB / 1.096 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006972/0.9208, allocations: 2.674 MB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.921, allocations: 0.6894 MB / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004804/0.9215, allocations: 48.88 kB / 1.099 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/0.922, allocations: 25.03 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/0.922, allocations: 3.938 kB / 1.099 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.9545, allocations: 9.8 MB / 1.109 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.735, allocations: 10.77 kB / 1.109 GB, free: 13.44 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches