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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.328/2.328, allocations: 443.5 MB / 0.7304 GB, free: 13.94 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 71.89 kB / 1.059 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2649, allocations: 160.7 MB / 1.216 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001615/0.2665, allocations: 0.6236 MB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.2683, allocations: 1.4 MB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.2683, allocations: 0 / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.023e-05/0.2684, allocations: 0 / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.283e-05/0.2684, allocations: 7.938 kB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.269, allocations: 179.5 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.2691, allocations: 51.88 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 2.912e-05/0.2691, allocations: 0 / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/0.2692, allocations: 19.92 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.2692, allocations: 31.91 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2692, allocations: 0 / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.2696, allocations: 211.7 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.2696, allocations: 15.92 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.2697, allocations: 23.86 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.2699, allocations: 187.7 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.27, allocations: 0 / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.27, allocations: 0 / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.27, allocations: 0 / 1.218 GB, free: 13.12 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.0004488/0.2704, allocations: 450.3 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.2704, allocations: 8.031 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.2705, allocations: 34.75 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.2705, allocations: 12.89 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.2706, allocations: 172.3 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.2707, allocations: 384 / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.2707, allocations: 4.375 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.2708, allocations: 97.77 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.2708, allocations: 0 / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2708, allocations: 4 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.2708, allocations: 0 / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.56e-05/0.2709, allocations: 63.94 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.2711, allocations: 181.6 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.2712, allocations: 78.47 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.2713, allocations: 65.59 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-06/0.2713, allocations: 0 / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.2713, allocations: 34.5 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.2713, allocations: 0 / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003776/0.2717, allocations: 259.1 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.2718, allocations: 89.08 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.2719, allocations: 147.5 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2719, allocations: 25.7 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.272, allocations: 96.09 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.272, allocations: 7.938 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.272, allocations: 25.72 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2722, allocations: 322.8 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.2723, allocations: 99.94 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.2724, allocations: 107.9 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.2727, allocations: 277.7 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2727, allocations: 0 / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003454/0.273, allocations: 324.8 kB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.736e-05/0.2731, allocations: 71.39 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.2731, allocations: 0 / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2731, allocations: 0 / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.2731, allocations: 3.938 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.2731, allocations: 0 / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2733, allocations: 15.95 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.2733, allocations: 11.98 kB / 1.221 GB, free: 9.801 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.0001146/0.2734, allocations: 147.5 kB / 1.221 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.2734, allocations: 11.89 kB / 1.221 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.581e-05/0.2734, allocations: 8.25 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2734, allocations: 0 / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2734, allocations: 0 / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-06/0.2734, allocations: 0 / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.2736, allocations: 173.6 kB / 1.222 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2736, allocations: 3.938 kB / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-06/0.2736, allocations: 8.141 kB / 1.222 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.2736, allocations: 0 / 1.222 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2736, allocations: 7.984 kB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2736, allocations: 0 / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2736, allocations: 0 / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.2739, allocations: 230.6 kB / 1.222 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.2739, allocations: 88.94 kB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.2739, allocations: 4 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.834e-05/0.274, allocations: 15.95 kB / 1.222 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.274, allocations: 8 kB / 1.222 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.274, allocations: 3.984 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.746e-05/0.2741, allocations: 104.6 kB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2741, allocations: 4 kB / 1.222 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002661/0.2744, allocations: 67.92 kB / 1.222 GB, free: 8.816 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.0007143/0.2751, allocations: 0.813 MB / 1.223 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003623/0.2754, allocations: 330.6 kB / 1.223 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.2754, allocations: 0 / 1.223 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.2756, allocations: 127.3 kB / 1.223 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.2757, allocations: 7.938 kB / 1.223 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.2778, allocations: 2.133 MB / 1.225 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.2781, allocations: 0.6924 MB / 1.226 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.03e-06/0.2781, allocations: 0 / 1.226 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.2781, allocations: 19.47 kB / 1.226 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of SimCode: time 4.3e-07/0.2781, allocations: 0 / 1.226 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.3032, allocations: 3.302 MB / 1.229 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.462, allocations: 12.16 kB / 1.229 GB, free: 1.289 MB / 0.9669 GB " [Timeout remaining time 292] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.628611572996306]