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.001753/0.001753, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002162/0.002162, allocations: 218.4 kB / 22.25 MB, free: 5.125 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.606/1.606, allocations: 230.6 MB / 256 MB, free: 7.996 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.32/3.32, allocations: 0.49 GB / 0.7951 GB, free: 33.5 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.002023/0.002023, allocations: 64.72 kB / 1.154 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3847, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002117/0.3868, allocations: 0.6276 MB / 1.327 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.389, allocations: 1.455 MB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.3891, allocations: 4 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.149e-05/0.3892, allocations: 3.938 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.909e-05/0.3892, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.3899, allocations: 188.5 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.3901, allocations: 47.95 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.3901, allocations: 288 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.3902, allocations: 23.92 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.3902, allocations: 27.91 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.3902, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.3907, allocations: 235.7 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.3907, allocations: 15.92 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.3908, allocations: 19.86 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.3911, allocations: 195.4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3911, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3911, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.3911, allocations: 0 / 1.329 GB, free: 15.09 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.0006056/0.3917, allocations: 369.3 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.3918, allocations: 8.031 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.3918, allocations: 38.73 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.3919, allocations: 4.891 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.392, allocations: 118.5 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.392, allocations: 384 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.3921, allocations: 4.375 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.3923, allocations: 101.8 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3923, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3923, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.3923, allocations: 4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3925, allocations: 63.89 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.3927, allocations: 160.7 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.3929, allocations: 74.53 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.393, allocations: 64.89 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.393, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.393, allocations: 42.5 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 5.851e-06/0.393, allocations: 3.984 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0005377/0.3936, allocations: 259.1 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3937, allocations: 85.11 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.3939, allocations: 147.6 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.3939, allocations: 25.7 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.64e-05/0.394, allocations: 92.08 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.394, allocations: 15.84 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.3941, allocations: 29.7 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.3943, allocations: 322.9 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3944, allocations: 99.94 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.3946, allocations: 99.94 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.3949, allocations: 277.8 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.395, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004793/0.3954, allocations: 324.7 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.3955, allocations: 75.38 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3955, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.3956, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.3956, allocations: 4.062 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3956, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.3958, allocations: 11.95 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.3959, allocations: 4 kB / 1.331 GB, free: 11.96 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.0001768/0.396, allocations: 152.1 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.3961, allocations: 15.88 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.3961, allocations: 4.344 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3961, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3961, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3961, allocations: 4 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.3963, allocations: 144.7 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3963, allocations: 3.938 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/0.3963, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.3963, allocations: 4 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3963, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3963, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3963, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.3967, allocations: 234.6 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.3967, allocations: 19.83 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.3967, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.638e-05/0.3967, allocations: 7.938 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.546e-05/0.3968, allocations: 7.984 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.3968, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001064/0.397, allocations: 112.8 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.397, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003917/0.3973, allocations: 59.94 kB / 1.332 GB, free: 11.12 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.0009501/0.3983, allocations: 0.8169 MB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004398/0.3987, allocations: 330.6 kB / 1.333 GB, free: 9.918 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3987, allocations: 3.938 kB / 1.333 GB, free: 9.914 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3989, allocations: 123.4 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.399, allocations: 4.156 kB / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.4016, allocations: 2.134 MB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.4021, allocations: 0.6962 MB / 1.336 GB, free: 6.828 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.005e-05/0.4021, allocations: 0 / 1.336 GB, free: 6.828 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.4021, allocations: 19.42 kB / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of SimCode: time 1.583e-06/0.4021, allocations: 0 / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.4326, allocations: 3.445 MB / 1.34 GB, free: 3.508 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.32, allocations: 7.094 kB / 1.34 GB, free: 3.504 MB / 1.029 GB " [Timeout remaining time 289] (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.490205658999912]