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.005108/0.005108, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001106/0.001106, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.297/2.297, allocations: 390.3 MB / 0.6648 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 67.91 kB / 0.9504 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.8308, allocations: 140.4 MB / 1.088 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001599/0.8324, allocations: 0.6215 MB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000433/0.8329, allocations: 204.9 kB / 1.088 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.8329, allocations: 1.219 kB / 1.088 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.8329, allocations: 3.938 kB / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.8331, allocations: 10.61 kB / 1.088 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.8334, allocations: 72.73 kB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.815e-05/0.8335, allocations: 31.22 kB / 1.088 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.012e-05/0.8335, allocations: 2.719 kB / 1.088 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.8336, allocations: 16.41 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.548e-05/0.8336, allocations: 19.73 kB / 1.088 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.8337, allocations: 6.812 kB / 1.088 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.8339, allocations: 113.3 kB / 1.089 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.8339, allocations: 7.125 kB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.8339, allocations: 13.41 kB / 1.089 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.8341, allocations: 113.5 kB / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.8341, allocations: 0 / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8341, allocations: 5.156 kB / 1.089 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.8342, allocations: 0 / 1.089 GB, free: 4.57 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.0004332/0.8346, allocations: 365.1 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.8346, allocations: 9.344 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.685e-05/0.8347, allocations: 32.78 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.8347, allocations: 7.953 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.098e-05/0.8348, allocations: 174.9 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.8348, allocations: 5.531 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.8348, allocations: 2.656 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.835, allocations: 53.25 kB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.835, allocations: 7.875 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.835, allocations: 4.516 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.835, allocations: 1.406 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.8352, allocations: 34.02 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.8354, allocations: 247.3 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.8356, allocations: 71.36 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.8357, allocations: 25.7 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.8357, allocations: 5.656 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.8357, allocations: 39.16 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.8357, allocations: 1.188 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.02879/0.8645, allocations: 1.614 MB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.8646, allocations: 52.78 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.8647, allocations: 117.5 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-05/0.8648, allocations: 26.48 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.8649, allocations: 86.34 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.865, allocations: 29.47 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.8652, allocations: 28.55 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.015e-05/0.8653, allocations: 322.1 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.8658, allocations: 141.8 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/0.8663, allocations: 141.5 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.8674, allocations: 303.6 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.8674, allocations: 0 / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001246/0.8687, allocations: 336.4 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.8687, allocations: 5.719 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8687, allocations: 4.719 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.8687, allocations: 0.9062 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.8704, allocations: 60.47 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.8704, allocations: 0.7812 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.8718, allocations: 45.33 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.8718, allocations: 7.922 kB / 1.093 GB, free: 2.363 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.0001632/0.872, allocations: 117.3 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.8721, allocations: 10.22 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.8722, allocations: 19.67 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.8722, allocations: 2 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8722, allocations: 0 / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.8723, allocations: 0.75 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006118/0.8784, allocations: 0.8459 MB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8784, allocations: 0.9688 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.8796, allocations: 53.09 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.8796, allocations: 0.875 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.8797, allocations: 11.36 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.8797, allocations: 2.062 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8797, allocations: 4.062 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009698/0.8807, allocations: 314.2 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.8807, allocations: 88.33 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.8808, allocations: 9.531 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.8819, allocations: 38.89 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.882, allocations: 9.656 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.882, allocations: 3.547 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.126e-05/0.8821, allocations: 100.7 kB / 1.095 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8821, allocations: 0 / 1.095 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004868/0.8826, allocations: 91.67 kB / 1.095 GB, free: 1.434 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.001283/0.8839, allocations: 0.8763 MB / 1.095 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.8849, allocations: 244.1 kB / 1.096 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.8849, allocations: 0.75 kB / 1.096 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000454/0.8854, allocations: 104.8 kB / 1.096 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.8857, allocations: 8.906 kB / 1.096 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006874/0.8926, allocations: 2.669 MB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.8929, allocations: 0.6892 MB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004834/0.8933, allocations: 52.8 kB / 1.099 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/0.8938, allocations: 26.05 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of SimCode: time 1.694e-06/0.8938, allocations: 0 / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.9288, allocations: 9.802 MB / 1.109 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.652, allocations: 5.938 kB / 1.109 GB, free: 13.42 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