Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_11_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.007505/0.007505, allocations: 100.1 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.002095/0.002095, allocations: 188.8 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.673/2.673, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.89 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6563/0.6583, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001667/0.66, allocations: 0.6109 MB / 1.221 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.6618, allocations: 1.39 MB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.6618, allocations: 0 / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.785e-05/0.6619, allocations: 7.875 kB / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.6619, allocations: 4 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.6625, allocations: 175.7 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.6626, allocations: 51.91 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 2.784e-05/0.6627, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.325e-05/0.6627, allocations: 15.98 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.6628, allocations: 35.78 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.6628, allocations: 0 / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.6632, allocations: 203.7 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.6632, allocations: 11.94 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.6633, allocations: 23.86 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.6635, allocations: 191.2 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6635, allocations: 0 / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6635, allocations: 0 / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.6636, allocations: 0 / 1.223 GB, free: 15.32 MB / 0.9512 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.0004662/0.664, allocations: 446.3 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.6641, allocations: 8.031 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.6641, allocations: 34.75 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.6641, allocations: 8.891 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.6643, allocations: 184.2 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.6643, allocations: 8.312 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.6643, allocations: 4.375 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.6645, allocations: 93.77 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.6645, allocations: 0 / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.6645, allocations: 4 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.6645, allocations: 0 / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.341e-05/0.6646, allocations: 59.95 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.6648, allocations: 177.7 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.6649, allocations: 82.47 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.856e-05/0.665, allocations: 68.89 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.311e-06/0.6651, allocations: 0 / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.6651, allocations: 34.5 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.6651, allocations: 0 / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0003973/0.6655, allocations: 251.2 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.6656, allocations: 89.12 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.6657, allocations: 147.7 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.6657, allocations: 29.7 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.6658, allocations: 96.02 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.6658, allocations: 7.953 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.6659, allocations: 29.7 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.666, allocations: 322.8 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.6662, allocations: 103.9 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.6663, allocations: 103.9 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.6666, allocations: 273.8 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6666, allocations: 0 / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003901/0.667, allocations: 328.8 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/0.6671, allocations: 67.39 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.6671, allocations: 0 / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6671, allocations: 3.984 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-06/0.6671, allocations: 4 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.6671, allocations: 3.938 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.6673, allocations: 11.89 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.6673, allocations: 8.062 kB / 1.226 GB, free: 11.99 MB / 0.9512 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.0001195/0.6674, allocations: 154.6 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.6674, allocations: 11.89 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.6675, allocations: 12.23 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.6675, allocations: 3.938 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.6675, allocations: 0 / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.6675, allocations: 0 / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.6676, allocations: 173.6 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.6676, allocations: 3.938 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.6676, allocations: 4 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.6676, allocations: 0 / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.6676, allocations: 4 kB / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6677, allocations: 0 / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6677, allocations: 0 / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.668, allocations: 226.8 kB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.668, allocations: 92.98 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.668, allocations: 3.938 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.559e-05/0.6681, allocations: 8.031 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.6682, allocations: 7.984 kB / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.6682, allocations: 7.984 kB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.66e-05/0.6683, allocations: 109.4 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6683, allocations: 0 / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002734/0.6685, allocations: 63.88 kB / 1.227 GB, free: 11.01 MB / 0.9512 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.0007491/0.6693, allocations: 0.8097 MB / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004306/0.6697, allocations: 374.6 kB / 1.228 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6698, allocations: 0 / 1.228 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.6699, allocations: 135.3 kB / 1.228 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.6701, allocations: 11.94 kB / 1.228 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.6723, allocations: 2.141 MB / 1.23 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.6726, allocations: 0.6885 MB / 1.231 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.013e-06/0.6726, allocations: 4 kB / 1.231 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.6727, allocations: 27.45 kB / 1.231 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.6727, allocations: 0 / 1.231 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.6965, allocations: 3.293 MB / 1.234 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/8.399, allocations: 12.45 kB / 1.234 GB, free: 3.441 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches