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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00723/0.00723, allocations: 102.4 kB / 15.73 MB, free: 6.449 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.002113/0.002113, allocations: 199.6 kB / 16.68 MB, free: 6.352 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2778, allocations: 162.2 MB / 1.241 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001731/0.2796, allocations: 0.656 MB / 1.242 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000429/0.28, allocations: 195.1 kB / 1.242 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.2801, allocations: 0 / 1.242 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.2801, allocations: 3.938 kB / 1.242 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.2803, allocations: 11.94 kB / 1.242 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.2805, allocations: 75.73 kB / 1.242 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.217e-05/0.2805, allocations: 23.98 kB / 1.242 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.2806, allocations: 4 kB / 1.242 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.89e-05/0.2806, allocations: 11.92 kB / 1.242 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.2807, allocations: 27.84 kB / 1.242 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.2807, allocations: 4 kB / 1.242 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.2809, allocations: 103.8 kB / 1.243 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.2809, allocations: 19.86 kB / 1.243 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.281, allocations: 7.938 kB / 1.243 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.2811, allocations: 107.7 kB / 1.243 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2811, allocations: 0 / 1.243 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2812, allocations: 0 / 1.243 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2812, allocations: 0 / 1.243 GB, free: 8.941 MB / 0.9981 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.0005307/0.2817, allocations: 373.2 kB / 1.243 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2817, allocations: 8.031 kB / 1.243 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.2818, allocations: 42.69 kB / 1.243 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.2818, allocations: 8.875 kB / 1.243 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.282, allocations: 168.4 kB / 1.243 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.282, allocations: 4.375 kB / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.282, allocations: 384 / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.2822, allocations: 58.23 kB / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.2822, allocations: 7.922 kB / 1.243 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2822, allocations: 7.938 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.2822, allocations: 0 / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.2824, allocations: 27.97 kB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.2827, allocations: 256.8 kB / 1.244 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.2829, allocations: 70.53 kB / 1.244 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.598e-05/0.283, allocations: 32.91 kB / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.283, allocations: 0 / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.2831, allocations: 34.56 kB / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.2831, allocations: 0 / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.02988/0.3129, allocations: 1.605 MB / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.313, allocations: 59.34 kB / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3131, allocations: 125.8 kB / 1.246 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.074e-05/0.3132, allocations: 29.7 kB / 1.246 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.3132, allocations: 84.14 kB / 1.246 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/0.3133, allocations: 27.73 kB / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.3135, allocations: 25.7 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3137, allocations: 326.8 kB / 1.246 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.3142, allocations: 139.9 kB / 1.246 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/0.3148, allocations: 143.9 kB / 1.246 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.3159, allocations: 296.7 kB / 1.247 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3159, allocations: 0 / 1.247 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001298/0.3172, allocations: 337.5 kB / 1.247 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3172, allocations: 4 kB / 1.247 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3172, allocations: 0 / 1.247 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3172, allocations: 0.6562 kB / 1.247 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.3189, allocations: 67.86 kB / 1.247 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3189, allocations: 0 / 1.247 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.3204, allocations: 47.95 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/0.3205, allocations: 8 kB / 1.247 GB, free: 4.336 MB / 0.9981 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.0001715/0.3207, allocations: 114.3 kB / 1.247 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.3208, allocations: 7.953 kB / 1.247 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.3209, allocations: 20.31 kB / 1.247 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3209, allocations: 4 kB / 1.247 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3209, allocations: 0 / 1.247 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3209, allocations: 0 / 1.247 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006279/0.3272, allocations: 0.8415 MB / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3272, allocations: 0 / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.3285, allocations: 56 kB / 1.248 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3285, allocations: 0 / 1.248 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.367e-05/0.3285, allocations: 11.92 kB / 1.248 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3285, allocations: 4.062 kB / 1.248 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3286, allocations: 4 kB / 1.248 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3296, allocations: 325 kB / 1.248 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.3296, allocations: 85.06 kB / 1.248 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.3297, allocations: 3.938 kB / 1.248 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.3309, allocations: 39.95 kB / 1.248 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.3309, allocations: 15.98 kB / 1.248 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.331, allocations: 4 kB / 1.248 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.021e-05/0.331, allocations: 91.27 kB / 1.249 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.331, allocations: 0 / 1.249 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003832/0.3314, allocations: 95.94 kB / 1.249 GB, free: 2.512 MB / 0.9981 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.001423/0.3329, allocations: 0.8739 MB / 1.249 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.3339, allocations: 247.8 kB / 1.25 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3339, allocations: 0 / 1.25 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004435/0.3344, allocations: 95.94 kB / 1.25 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3346, allocations: 4.938 kB / 1.25 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4744/0.8091, allocations: 2.67 MB / 1.252 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.03e-05/0.8092, allocations: 0.6877 MB / 1.253 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004657/0.8097, allocations: 56.27 kB / 1.253 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.8101, allocations: 23.12 kB / 1.253 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.8101, allocations: 0 / 1.253 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.8411, allocations: 9.799 MB / 1.263 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.658, allocations: 13.22 kB / 1.263 GB, free: 12.68 MB / 0.9981 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 400 --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