Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001389/0.001389, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001548/0.001548, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.498/1.498, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.475/3.475, allocations: 0.49 GB / 0.7916 GB, free: 33.17 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_12_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.002074/0.002074, allocations: 70.09 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3883, allocations: 176.1 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002042/0.3903, allocations: 0.6176 MB / 1.321 GB, free: 2.68 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.3925, allocations: 1.443 MB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.3926, allocations: 4 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.975e-05/0.3926, allocations: 3.938 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.602e-05/0.3927, allocations: 4 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.3933, allocations: 175 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.3935, allocations: 51.89 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.3935, allocations: 8.266 kB / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.216e-05/0.3936, allocations: 23.92 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.3936, allocations: 23.91 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.3936, allocations: 4 kB / 1.323 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.394, allocations: 207.7 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.394, allocations: 15.98 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.3941, allocations: 23.8 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.3944, allocations: 187.4 kB / 1.324 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3944, allocations: 4 kB / 1.324 GB, free: 0.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3944, allocations: 3.938 kB / 1.324 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3944, allocations: 0 / 1.324 GB, free: 0.4961 MB / 1.014 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.0005149/0.3949, allocations: 450.4 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3949, allocations: 11.98 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.395, allocations: 34.75 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.395, allocations: 4.938 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.3952, allocations: 174.3 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3952, allocations: 4.375 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.3952, allocations: 384 / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.3954, allocations: 97.72 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.3954, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3954, allocations: 8 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.3954, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3955, allocations: 67.88 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.3957, allocations: 181.5 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.3958, allocations: 78.53 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.089e-05/0.3959, allocations: 64.89 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.3959, allocations: 0 / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.396, allocations: 46.48 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.396, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004271/0.3964, allocations: 259.1 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.3965, allocations: 77.11 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.3966, allocations: 141.8 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.3967, allocations: 29.7 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.3967, allocations: 84.14 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.3967, allocations: 23.77 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/0.3968, allocations: 25.75 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3969, allocations: 326.8 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.3971, allocations: 99.94 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.3972, allocations: 107.9 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.3975, allocations: 273.9 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3975, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003928/0.3979, allocations: 332.8 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/0.398, allocations: 69.58 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.398, allocations: 4 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.398, allocations: 64 / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.398, allocations: 4 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.398, allocations: 0 / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.3982, allocations: 11.95 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.3982, allocations: 7.984 kB / 1.327 GB, free: 13.16 MB / 1.029 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.0001221/0.3983, allocations: 147.5 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.3983, allocations: 11.89 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.604e-05/0.3983, allocations: 4.25 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3983, allocations: 4 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3983, allocations: 4 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.3983, allocations: 0 / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.3985, allocations: 173.6 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3985, allocations: 3.938 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3985, allocations: 0 / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.3985, allocations: 0 / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.3985, allocations: 0 / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3985, allocations: 4 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3985, allocations: 0 / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.3988, allocations: 234.6 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.3989, allocations: 92.94 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3989, allocations: 0 / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.3989, allocations: 11.92 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.399, allocations: 4 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.399, allocations: 7.984 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.7e-05/0.3991, allocations: 103.3 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3991, allocations: 0 / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003125/0.3994, allocations: 67.86 kB / 1.327 GB, free: 12.19 MB / 1.029 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.0007991/0.4002, allocations: 0.8169 MB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.4006, allocations: 334.6 kB / 1.328 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4006, allocations: 0 / 1.328 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.4008, allocations: 123.3 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.4009, allocations: 12.16 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.4033, allocations: 2.123 MB / 1.331 GB, free: 8.629 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.4036, allocations: 0.6963 MB / 1.331 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.783e-06/0.4036, allocations: 0 / 1.331 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.4037, allocations: 19.38 kB / 1.331 GB, free: 7.887 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.4037, allocations: 0 / 1.331 GB, free: 7.887 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.4307, allocations: 3.308 MB / 1.335 GB, free: 4.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.496, allocations: 16.41 kB / 1.335 GB, free: 4.668 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.634603559039533]