Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.006998/0.006998, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001821/0.001821, allocations: 193.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.484/1.484, 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 12.0.0-master/package.mo): time 2.747/2.747, allocations: 482.4 MB / 0.7548 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 65.97 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2748, allocations: 162.2 MB / 1.241 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001658/0.2765, allocations: 0.6135 MB / 1.242 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.2785, allocations: 1.386 MB / 1.243 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.2785, allocations: 3.938 kB / 1.243 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.779e-05/0.2786, allocations: 7.938 kB / 1.243 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.186e-05/0.2786, allocations: 0 / 1.243 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006403/0.2792, allocations: 179.5 kB / 1.244 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.2794, allocations: 51.89 kB / 1.244 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.2794, allocations: 8 kB / 1.244 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.353e-05/0.2795, allocations: 15.98 kB / 1.244 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.754e-05/0.2795, allocations: 23.91 kB / 1.244 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2795, allocations: 4 kB / 1.244 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.2799, allocations: 199.7 kB / 1.244 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.2799, allocations: 19.92 kB / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.28, allocations: 19.86 kB / 1.244 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.2803, allocations: 183.7 kB / 1.244 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.2803, allocations: 8 kB / 1.244 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2803, allocations: 3.938 kB / 1.244 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.158e-06/0.2803, allocations: 4 kB / 1.244 GB, free: 6.496 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004729/0.2808, allocations: 442.3 kB / 1.245 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2808, allocations: 12.03 kB / 1.245 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.2809, allocations: 34.75 kB / 1.245 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.2809, allocations: 12.89 kB / 1.245 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.2811, allocations: 168.4 kB / 1.245 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2811, allocations: 4.375 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.2811, allocations: 384 / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.2813, allocations: 97.77 kB / 1.245 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2813, allocations: 4 kB / 1.245 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.2813, allocations: 0 / 1.245 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.2813, allocations: 4 kB / 1.245 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.854e-05/0.2814, allocations: 67.88 kB / 1.245 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.2816, allocations: 173.6 kB / 1.245 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.2818, allocations: 82.53 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.2819, allocations: 68.83 kB / 1.245 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.2819, allocations: 0 / 1.245 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.2819, allocations: 46.48 kB / 1.245 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 2.675e-06/0.2819, allocations: 3.984 kB / 1.245 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004127/0.2824, allocations: 255.2 kB / 1.246 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.2824, allocations: 77.11 kB / 1.246 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.2826, allocations: 143.8 kB / 1.246 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.2826, allocations: 29.7 kB / 1.246 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.2826, allocations: 92.09 kB / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.2827, allocations: 15.97 kB / 1.246 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.2827, allocations: 25.72 kB / 1.246 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2829, allocations: 318.8 kB / 1.246 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.283, allocations: 103.9 kB / 1.246 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.2832, allocations: 111.9 kB / 1.246 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.2835, allocations: 269.9 kB / 1.247 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2835, allocations: 0 / 1.247 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004051/0.2839, allocations: 328.7 kB / 1.247 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.265e-05/0.284, allocations: 71.39 kB / 1.247 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.284, allocations: 4.062 kB / 1.247 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.284, allocations: 0 / 1.247 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.284, allocations: 4 kB / 1.247 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.284, allocations: 0 / 1.247 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.2841, allocations: 11.89 kB / 1.247 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.2842, allocations: 7.984 kB / 1.247 GB, free: 3.172 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001274/0.2843, allocations: 152.1 kB / 1.247 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.2843, allocations: 11.89 kB / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.284e-05/0.2843, allocations: 4.25 kB / 1.247 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2844, allocations: 4 kB / 1.247 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.2844, allocations: 0 / 1.247 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.2844, allocations: 4 kB / 1.247 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.2845, allocations: 169.6 kB / 1.247 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2845, allocations: 3.938 kB / 1.247 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.2845, allocations: 4 kB / 1.247 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2845, allocations: 0 / 1.247 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.2845, allocations: 0 / 1.247 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2846, allocations: 0 / 1.247 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.2846, allocations: 7.938 kB / 1.247 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.2849, allocations: 234.6 kB / 1.248 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.2849, allocations: 89 kB / 1.248 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.285, allocations: 0 / 1.248 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/0.285, allocations: 7.984 kB / 1.248 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.2851, allocations: 8 kB / 1.248 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.2851, allocations: 7.984 kB / 1.248 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.815e-05/0.2852, allocations: 104.8 kB / 1.248 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2852, allocations: 32 / 1.248 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002834/0.2855, allocations: 71.86 kB / 1.248 GB, free: 2.195 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007761/0.2863, allocations: 0.8091 MB / 1.249 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004461/0.2867, allocations: 374.6 kB / 1.249 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2867, allocations: 0 / 1.249 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.2869, allocations: 139.4 kB / 1.249 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.287, allocations: 8 kB / 1.249 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.2893, allocations: 2.146 MB / 1.251 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.2897, allocations: 0.6885 MB / 1.252 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.973e-06/0.2897, allocations: 0 / 1.252 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.2897, allocations: 19.38 kB / 1.252 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.2897, allocations: 0 / 1.252 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.3133, allocations: 3.301 MB / 1.255 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/7.95, allocations: 7.562 kB / 1.255 GB, free: 10.63 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches