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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 217.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.302/3.302, allocations: 0.505 GB / 0.8101 GB, free: 21.99 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 62.91 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4237, allocations: 180.2 MB / 1.353 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002121/0.4258, allocations: 0.6186 MB / 1.354 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002446/0.4283, allocations: 1.451 MB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.4283, allocations: 0 / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.187e-05/0.4284, allocations: 0 / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.988e-05/0.4285, allocations: 7.938 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009111/0.4294, allocations: 186.4 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.4295, allocations: 39.97 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.4296, allocations: 12.27 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.157e-05/0.4296, allocations: 19.92 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.093e-05/0.4297, allocations: 31.84 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.4297, allocations: 4 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004696/0.4302, allocations: 227.7 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.4302, allocations: 11.92 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.4303, allocations: 23.81 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.4306, allocations: 191.5 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4306, allocations: 0 / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4306, allocations: 0 / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.4306, allocations: 3.938 kB / 1.356 GB, free: 5.555 MB / 1.045 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.0005452/0.4312, allocations: 369.2 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.4312, allocations: 12.03 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.4313, allocations: 30.75 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.4313, allocations: 12.88 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.4315, allocations: 118.4 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.4315, allocations: 8.312 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.4315, allocations: 4.375 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.4317, allocations: 97.77 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4317, allocations: 0 / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.4317, allocations: 7.984 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4317, allocations: 0 / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.4318, allocations: 59.95 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.4321, allocations: 156.7 kB / 1.356 GB, free: 4.574 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.4322, allocations: 78.47 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.4323, allocations: 68.89 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.4323, allocations: 0 / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.4324, allocations: 38.5 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.4324, allocations: 0 / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004961/0.4329, allocations: 251.2 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/0.4329, allocations: 85.09 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.4331, allocations: 135.7 kB / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.4331, allocations: 33.73 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.4332, allocations: 96.08 kB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.4332, allocations: 7.891 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.212e-05/0.4333, allocations: 29.7 kB / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4335, allocations: 322.8 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.4336, allocations: 103.9 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.4338, allocations: 99.94 kB / 1.358 GB, free: 3.168 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.4341, allocations: 285.8 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4341, allocations: 32 / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003959/0.4345, allocations: 324.9 kB / 1.358 GB, free: 2.531 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.468e-05/0.4346, allocations: 71.33 kB / 1.358 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.4346, allocations: 3.984 kB / 1.358 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4346, allocations: 3.938 kB / 1.358 GB, free: 2.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.4346, allocations: 0 / 1.358 GB, free: 2.441 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4346, allocations: 0 / 1.358 GB, free: 2.441 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.4348, allocations: 11.95 kB / 1.358 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.4348, allocations: 11.94 kB / 1.358 GB, free: 2.418 MB / 1.045 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.000142/0.4349, allocations: 155.5 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.435, allocations: 11.89 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/0.435, allocations: 12.33 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.435, allocations: 0 / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.435, allocations: 0 / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.435, allocations: 0 / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.4351, allocations: 144.7 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.4351, allocations: 3.938 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.4351, allocations: 0 / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4351, allocations: 0 / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.4351, allocations: 4 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.4351, allocations: 4 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4351, allocations: 0 / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.4354, allocations: 226.7 kB / 1.359 GB, free: 1.781 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.4354, allocations: 15.83 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.4355, allocations: 4 kB / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.173e-05/0.4355, allocations: 0 / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.4356, allocations: 11.92 kB / 1.359 GB, free: 1.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.4356, allocations: 4 kB / 1.359 GB, free: 1.746 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.256e-05/0.4357, allocations: 113.2 kB / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4357, allocations: 0 / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003329/0.436, allocations: 59.94 kB / 1.359 GB, free: 1.578 MB / 1.045 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.0008752/0.4369, allocations: 0.8092 MB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004612/0.4374, allocations: 334.7 kB / 1.36 GB, free: 392 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4374, allocations: 7.875 kB / 1.36 GB, free: 384 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.4375, allocations: 123.3 kB / 1.36 GB, free: 248 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.4377, allocations: 11.98 kB / 1.36 GB, free: 236 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.4402, allocations: 2.134 MB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.4406, allocations: 0.6885 MB / 1.363 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.993e-06/0.4406, allocations: 0 / 1.363 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.4407, allocations: 23.61 kB / 1.363 GB, free: 13.27 MB / 1.061 GB Notification: Performance of SimCode: time 8.21e-07/0.4407, allocations: 0 / 1.363 GB, free: 13.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04155/0.4822, allocations: 3.443 MB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.29, allocations: 7.031 kB / 1.367 GB, free: 9.957 MB / 1.061 GB " [Timeout remaining time 289] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.448179854000045]