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.001725/0.001725, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002452/0.002452, allocations: 220 kB / 22.25 MB, free: 5.254 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: 7.812 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.288/3.288, allocations: 0.49 GB / 0.7951 GB, free: 35.4 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.00218/0.00218, allocations: 71.97 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4069, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001961/0.4089, allocations: 0.6139 MB / 1.326 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.411, allocations: 1.393 MB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.411, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.281e-05/0.4111, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.4111, allocations: 7.922 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007801/0.4119, allocations: 187.6 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.412, allocations: 47.89 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.4121, allocations: 288 / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.442e-05/0.4121, allocations: 27.91 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.4122, allocations: 27.91 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.4122, allocations: 4 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000402/0.4126, allocations: 223.7 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.4126, allocations: 11.98 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.4127, allocations: 19.86 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.413, allocations: 195.4 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.413, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.413, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.413, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 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.0004618/0.4134, allocations: 361.3 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4135, allocations: 8.031 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.821e-05/0.4135, allocations: 42.73 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.4136, allocations: 8.891 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.4137, allocations: 116.2 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.4137, allocations: 384 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.4137, allocations: 16.23 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.4139, allocations: 131.5 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.414, allocations: 3.938 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.414, allocations: 4 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.414, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.4141, allocations: 89.64 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.4143, allocations: 148.7 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.4144, allocations: 108.2 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.4145, allocations: 98.53 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.4145, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.4146, allocations: 34.5 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.4146, allocations: 4 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004599/0.415, allocations: 314.6 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.4151, allocations: 77.11 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.4152, allocations: 143.4 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.4153, allocations: 29.7 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.4153, allocations: 88.12 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.4153, allocations: 19.84 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.4154, allocations: 25.72 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4156, allocations: 318.8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.4158, allocations: 175.3 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.4159, allocations: 167.3 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.4163, allocations: 285.9 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4163, allocations: 4 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004305/0.4167, allocations: 400.2 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.741e-05/0.4168, allocations: 71.39 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4168, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4168, allocations: 4 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.4168, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.4168, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.417, allocations: 11.94 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.417, allocations: 4 kB / 1.332 GB, free: 11.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.000133/0.4171, allocations: 162.9 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.4172, allocations: 11.89 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.4172, allocations: 4.344 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4172, allocations: 4 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4172, allocations: 0 / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4172, allocations: 0 / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.4173, allocations: 144.7 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4173, allocations: 3.938 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.4173, allocations: 0 / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.4173, allocations: 0 / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.4173, allocations: 11.94 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4173, allocations: 0 / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.4173, allocations: 3.984 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.4177, allocations: 256.4 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.4177, allocations: 15.83 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.4177, allocations: 0 / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.554e-05/0.4177, allocations: 4.141 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/0.4178, allocations: 15.91 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.4178, allocations: 4 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.088e-05/0.4179, allocations: 109 kB / 1.332 GB, free: 10.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4179, allocations: 0 / 1.332 GB, free: 10.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000317/0.4182, allocations: 63.97 kB / 1.333 GB, free: 10.27 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.000841/0.419, allocations: 0.842 MB / 1.333 GB, free: 9.387 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.4196, allocations: 423.7 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4196, allocations: 0 / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.4197, allocations: 157 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.4199, allocations: 5.203 kB / 1.334 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.4226, allocations: 2.445 MB / 1.336 GB, free: 6.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.052e-05/0.4227, allocations: 75.52 kB / 1.336 GB, free: 6.066 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.615e-06/0.4227, allocations: 4 kB / 1.336 GB, free: 6.062 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.4228, allocations: 19.42 kB / 1.336 GB, free: 6.043 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4228, allocations: 0 / 1.336 GB, free: 6.043 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.4564, allocations: 3.939 MB / 1.34 GB, free: 2.254 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.6, allocations: 0.6562 kB / 1.34 GB, free: 2.254 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.75681711899233]