Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.CubicHermite,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_10_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.007288/0.007288, allocations: 101 kB / 15.73 MB, free: 6.062 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.001814/0.001814, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 71.83 kB / 1.018 GB, free: 9.812 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7573/0.7592, allocations: 151.6 MB / 1.166 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001972/0.7613, allocations: 0.6156 MB / 1.167 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.7633, allocations: 1.385 MB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.7633, allocations: 3.938 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.074e-05/0.7634, allocations: 7.938 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.723e-05/0.7634, allocations: 3.984 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000642/0.7641, allocations: 177 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.7642, allocations: 55.88 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.7642, allocations: 4 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/0.7643, allocations: 15.98 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.7643, allocations: 27.91 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.7644, allocations: 4 kB / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004028/0.7648, allocations: 207.7 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.7648, allocations: 7.938 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.7649, allocations: 23.86 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.7653, allocations: 187.2 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.7653, allocations: 3.984 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7653, allocations: 0 / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7653, allocations: 0 / 1.169 GB, free: 1 MB / 0.8887 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.0006258/0.7659, allocations: 446.3 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.766, allocations: 12.92 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.766, allocations: 30.75 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.7661, allocations: 12.83 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.7662, allocations: 168.3 kB / 1.169 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.7662, allocations: 8.312 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.7663, allocations: 4.375 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.7665, allocations: 101.8 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.7665, allocations: 0 / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.7665, allocations: 0 / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.7665, allocations: 0 / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.3e-05/0.7666, allocations: 59.95 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.7668, allocations: 177.6 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.767, allocations: 90.47 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.758e-05/0.7671, allocations: 68.88 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-06/0.7671, allocations: 3.938 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.7671, allocations: 34.5 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.7671, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0004166/0.7676, allocations: 247.4 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.7676, allocations: 89.05 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.7678, allocations: 148.1 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.7678, allocations: 29.73 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.7679, allocations: 92.09 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.7679, allocations: 11.94 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.768, allocations: 21.72 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.7681, allocations: 322.8 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.7683, allocations: 99.94 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.7684, allocations: 103.9 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.7687, allocations: 277.7 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.7687, allocations: 8.016 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004453/0.7692, allocations: 332.7 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/0.7693, allocations: 67.39 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7693, allocations: 0 / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7693, allocations: 0 / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.7693, allocations: 0 / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.7693, allocations: 0 / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.7695, allocations: 19.88 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.7695, allocations: 4 kB / 1.172 GB, free: 13.67 MB / 0.9044 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.0001341/0.7697, allocations: 155.6 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.7697, allocations: 11.89 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.7697, allocations: 4.25 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.7697, allocations: 3.938 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.7697, allocations: 0 / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7697, allocations: 4 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.7699, allocations: 173.6 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7699, allocations: 3.938 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.7699, allocations: 0 / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.7699, allocations: 0 / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.7699, allocations: 8 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.7699, allocations: 0 / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7699, allocations: 3.984 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.7703, allocations: 226.6 kB / 1.172 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.7703, allocations: 92.98 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.7703, allocations: 4 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.976e-05/0.7704, allocations: 4 kB / 1.172 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.7705, allocations: 7.984 kB / 1.172 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.7705, allocations: 4.031 kB / 1.172 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.771e-05/0.7706, allocations: 111.2 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7706, allocations: 0 / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003726/0.7709, allocations: 67.86 kB / 1.173 GB, free: 12.68 MB / 0.9044 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.0009999/0.772, allocations: 0.8053 MB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004941/0.7725, allocations: 382.6 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7725, allocations: 0 / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.7726, allocations: 135.3 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.7728, allocations: 10.03 kB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.7754, allocations: 2.134 MB / 1.176 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.7758, allocations: 0.6885 MB / 1.177 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.945e-06/0.7758, allocations: 0 / 1.177 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.7759, allocations: 19.44 kB / 1.177 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.7759, allocations: 0 / 1.177 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.8023, allocations: 3.301 MB / 1.18 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.995, allocations: 12.45 kB / 1.18 GB, free: 5.117 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches