Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_latest_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.001638/0.001638, 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.00124/0.00124, allocations: 196.9 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.71/2.71, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 65 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3271, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001778/0.3289, allocations: 0.6416 MB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004127/0.3294, allocations: 203.1 kB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.3294, allocations: 0 / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.3295, allocations: 3.938 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.3296, allocations: 7.938 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.3298, allocations: 79.75 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.97e-05/0.3299, allocations: 27.97 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.33, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.174e-05/0.33, allocations: 19.92 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.3301, allocations: 19.91 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.3301, allocations: 4 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.3303, allocations: 107.7 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.3303, allocations: 7.938 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.3303, allocations: 15.86 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.3305, allocations: 107.8 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3305, allocations: 0 / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3305, allocations: 0 / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3305, allocations: 0 / 1.065 GB, free: 13.28 MB / 0.8262 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.0004949/0.331, allocations: 371.7 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3311, allocations: 12.03 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.3311, allocations: 30.75 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.3311, allocations: 8.781 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3313, allocations: 172.4 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3313, allocations: 4.375 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3313, allocations: 12.25 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.3315, allocations: 54.23 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3315, allocations: 7.844 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3315, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3315, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.3317, allocations: 35.95 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.3319, allocations: 252.9 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.3322, allocations: 66.47 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.3322, allocations: 24.94 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.3323, allocations: 4 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3323, allocations: 30.56 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3323, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.02849/0.3608, allocations: 1.612 MB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.3609, allocations: 59.41 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.361, allocations: 117.8 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.3611, allocations: 25.7 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.3611, allocations: 92.12 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/0.3612, allocations: 31.55 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.3614, allocations: 21.7 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3615, allocations: 322.8 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/0.3621, allocations: 143.9 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.3625, allocations: 139.9 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009847/0.3635, allocations: 293.3 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.3635, allocations: 3.938 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001198/0.3648, allocations: 337.5 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3648, allocations: 4 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3648, allocations: 0 / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3648, allocations: 0 / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.3665, allocations: 63.88 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3665, allocations: 4 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.3679, allocations: 51.94 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.3679, allocations: 4 kB / 1.069 GB, free: 8.688 MB / 0.8262 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.0001674/0.3681, allocations: 113.8 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.461e-05/0.3682, allocations: 11.89 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.3684, allocations: 20.8 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3684, allocations: 3.938 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3684, allocations: 4 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3684, allocations: 0 / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005841/0.3742, allocations: 0.8455 MB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.3742, allocations: 0 / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.3754, allocations: 55.88 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.3754, allocations: 4 kB / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.3755, allocations: 11.92 kB / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3755, allocations: 0 / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.3755, allocations: 4 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009151/0.3764, allocations: 321.1 kB / 1.07 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.3765, allocations: 81.02 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.3766, allocations: 11.94 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.3777, allocations: 35.95 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.3777, allocations: 11.98 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.3777, allocations: 4 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.675e-05/0.3778, allocations: 99.3 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3778, allocations: 0 / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003906/0.3782, allocations: 92 kB / 1.071 GB, free: 6.859 MB / 0.8262 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.001267/0.3795, allocations: 0.8669 MB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009646/0.3805, allocations: 255.9 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3805, allocations: 0 / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004053/0.3809, allocations: 91.94 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.3812, allocations: 8 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/0.3877, allocations: 2.674 MB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.3879, allocations: 0.6846 MB / 1.075 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004901/0.3884, allocations: 55.98 kB / 1.075 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004432/0.3889, allocations: 23.42 kB / 1.075 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3889, allocations: 0 / 1.075 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.4159, allocations: 9.779 MB / 1.085 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.532/7.948, allocations: 13.78 kB / 1.085 GB, free: 8.316 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches