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.001162/0.001162, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001275/0.001275, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8986/0.8986, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.792/1.792, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.507e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001186/0.001211, allocations: 0.6149 MB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.002607, allocations: 1.385 MB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.994e-05/0.002637, allocations: 0 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.823e-05/0.002695, allocations: 7.922 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.107e-05/0.002737, allocations: 7.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000615/0.003352, allocations: 179.5 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.003459, allocations: 55.89 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.003496, allocations: 4 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.318e-05/0.003549, allocations: 19.97 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.003601, allocations: 23.97 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.003615, allocations: 0 / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.003886, allocations: 211.7 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.00393, allocations: 11.94 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.003963, allocations: 23.91 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.004193, allocations: 231.4 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.004195, allocations: 3.984 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004196, allocations: 0 / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.0042, allocations: 0 / 1.002 GB, free: 10.66 MB / 0.9636 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.0003257/0.004526, allocations: 365.3 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.004563, allocations: 12.75 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.464e-05/0.004588, allocations: 30.75 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.004615, allocations: 8.891 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.338e-05/0.004698, allocations: 113.7 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.004709, allocations: 4.312 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.004718, allocations: 8.375 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.00487, allocations: 131.9 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-06/0.004877, allocations: 192 / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.004886, allocations: 4.125 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.00489, allocations: 0 / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.302e-05/0.004963, allocations: 89.66 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.005072, allocations: 144.7 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.013e-05/0.005162, allocations: 108.2 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.739e-05/0.005229, allocations: 98.53 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-06/0.005235, allocations: 0 / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.005254, allocations: 38.55 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.005255, allocations: 4 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0003/0.005555, allocations: 310.6 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.005593, allocations: 85.09 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.005683, allocations: 139.8 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.005694, allocations: 29.7 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.005735, allocations: 96.11 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.005755, allocations: 11.91 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.005797, allocations: 33.64 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002432/0.00604, allocations: 318.8 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.006159, allocations: 175.2 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.006264, allocations: 171.4 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.006463, allocations: 285.9 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.006465, allocations: 0 / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002664/0.006732, allocations: 388.2 kB / 1.005 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.006778, allocations: 71.39 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.006786, allocations: 11.92 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.006797, allocations: 0 / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.006798, allocations: 0 / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.006804, allocations: 0 / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.00692, allocations: 11.89 kB / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.006931, allocations: 4 kB / 1.006 GB, free: 7.098 MB / 0.9636 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 8.103e-05/0.007012, allocations: 159.5 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-06/0.007021, allocations: 7.953 kB / 1.006 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.747e-05/0.007039, allocations: 16.27 kB / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.00704, allocations: 0 / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.007045, allocations: 0 / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007048, allocations: 144 / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.573e-05/0.007123, allocations: 140.7 kB / 1.006 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.007125, allocations: 3.984 kB / 1.006 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.007126, allocations: 0 / 1.006 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.007127, allocations: 0 / 1.006 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.007137, allocations: 11.94 kB / 1.006 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.007139, allocations: 3.984 kB / 1.006 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.00714, allocations: 0 / 1.006 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.00734, allocations: 252.4 kB / 1.006 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.007351, allocations: 11.89 kB / 1.006 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.007364, allocations: 3.938 kB / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.204e-05/0.007396, allocations: 7.984 kB / 1.006 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.007449, allocations: 11.94 kB / 1.006 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.007455, allocations: 4 kB / 1.006 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.007504, allocations: 108.7 kB / 1.006 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007504, allocations: 32 / 1.006 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002236/0.007728, allocations: 67.92 kB / 1.006 GB, free: 6.207 MB / 0.9636 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.0004847/0.008213, allocations: 0.8447 MB / 1.007 GB, free: 5.324 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003112/0.008524, allocations: 423.7 kB / 1.008 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008525, allocations: 0 / 1.008 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.34e-05/0.008619, allocations: 153 kB / 1.008 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.008912, allocations: 13.66 kB / 1.008 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.0105, allocations: 2.456 MB / 1.01 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.01055, allocations: 75.52 kB / 1.01 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.458e-06/0.01055, allocations: 0 / 1.01 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.01058, allocations: 20.5 kB / 1.01 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.01058, allocations: 0 / 1.01 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.02576, allocations: 4.041 MB / 1.014 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/7.262, allocations: 6.438 kB / 1.014 GB, free: 14.06 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 11.406979710794985]