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.001504/0.001504, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002013/0.002013, allocations: 212.7 kB / 22.25 MB, free: 4.855 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.797 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.249/3.249, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.002154/0.002154, allocations: 66.91 kB / 1.153 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3721, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001818/0.3739, allocations: 0.6199 MB / 1.326 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.376, allocations: 1.385 MB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.3761, allocations: 0 / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.372e-05/0.3761, allocations: 0 / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.842e-05/0.3762, allocations: 7.938 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006814/0.3768, allocations: 194.5 kB / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.377, allocations: 47.84 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.377, allocations: 4.266 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.377, allocations: 23.97 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.745e-05/0.3771, allocations: 23.91 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3771, allocations: 8 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003883/0.3775, allocations: 211.8 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.3775, allocations: 19.92 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.3776, allocations: 11.94 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.3779, allocations: 195.2 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3779, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3779, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3779, allocations: 0 / 1.328 GB, free: 15.61 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.0004543/0.3783, allocations: 369.2 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.3784, allocations: 8.031 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.3784, allocations: 38.75 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.3784, allocations: 8.891 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3786, allocations: 118.5 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3786, allocations: 384 / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.3786, allocations: 8.312 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.3788, allocations: 123.5 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3788, allocations: 0 / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3789, allocations: 4 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3789, allocations: 0 / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.379, allocations: 89.66 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.3792, allocations: 152.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.3794, allocations: 108.2 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.3795, allocations: 102.5 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.3795, allocations: 4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.3795, allocations: 38.5 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3795, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0005296/0.3801, allocations: 314.6 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/0.3802, allocations: 77.11 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.3803, allocations: 143.4 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.3804, allocations: 29.7 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.3804, allocations: 88.12 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.3805, allocations: 19.88 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.3805, allocations: 29.7 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.3807, allocations: 322.8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.3809, allocations: 171.3 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.3811, allocations: 167.3 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.3815, allocations: 289.8 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3815, allocations: 0 / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004411/0.3819, allocations: 392.4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.382, allocations: 75.38 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.382, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.382, allocations: 11.92 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.382, allocations: 4.062 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.382, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.3822, allocations: 7.953 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3822, allocations: 4 kB / 1.331 GB, free: 12.03 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.0001313/0.3823, allocations: 159.9 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.3823, allocations: 11.89 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.3823, allocations: 8.344 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3823, allocations: 4 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3823, allocations: 0 / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3824, allocations: 0 / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.3825, allocations: 140.7 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3825, allocations: 3.938 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3825, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3825, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3825, allocations: 4 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3825, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3825, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.3828, allocations: 256.4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.3828, allocations: 19.81 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.3829, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.762e-05/0.3829, allocations: 4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.383, allocations: 19.95 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.383, allocations: 4 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.935e-05/0.3831, allocations: 109 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3831, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000277/0.3833, allocations: 59.94 kB / 1.332 GB, free: 11.14 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.0008537/0.3842, allocations: 0.8381 MB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000479/0.3847, allocations: 423.7 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3847, allocations: 4 kB / 1.333 GB, free: 9.805 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.3848, allocations: 161.1 kB / 1.333 GB, free: 9.629 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.385, allocations: 7.938 kB / 1.333 GB, free: 9.621 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.3876, allocations: 2.442 MB / 1.335 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.367e-05/0.3876, allocations: 79.27 kB / 1.336 GB, free: 6.934 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.841e-06/0.3876, allocations: 0 / 1.336 GB, free: 6.934 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.3877, allocations: 15.44 kB / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of SimCode: time 8.22e-07/0.3877, allocations: 0 / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.4197, allocations: 3.909 MB / 1.339 GB, free: 3.152 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.87, allocations: 10.5 kB / 1.339 GB, free: 3.145 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.878284408245236]