Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001325/0.001325, allocations: 112.9 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.001433/0.001433, 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.326/1.326, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.498/2.498, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 71.89 kB / 1.107 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.764/0.7659, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001475/0.7673, allocations: 0.6341 MB / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.7688, allocations: 1.395 MB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.7688, allocations: 0.9062 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.757e-05/0.7689, allocations: 4.688 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.5e-05/0.7689, allocations: 6.875 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.7695, allocations: 182.5 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.977e-05/0.7696, allocations: 42.19 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.266e-05/0.7696, allocations: 6.531 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.7697, allocations: 13.23 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.7697, allocations: 33.94 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.7697, allocations: 2.812 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.7701, allocations: 205.7 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.7701, allocations: 13.83 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.7701, allocations: 25.95 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.7704, allocations: 183.5 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7704, allocations: 4 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7704, allocations: 0 / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.7704, allocations: 4.969 kB / 1.274 GB, free: 6.105 MB / 0.9981 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.0003288/0.7707, allocations: 445.7 kB / 1.275 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.7707, allocations: 9.531 kB / 1.275 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.171e-05/0.7708, allocations: 36.36 kB / 1.275 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.7708, allocations: 9.016 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.633e-05/0.7709, allocations: 177.9 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.7709, allocations: 6.219 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.7709, allocations: 7.25 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.771, allocations: 100.9 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.7711, allocations: 0 / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.7711, allocations: 1.906 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.7711, allocations: 0 / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.685e-05/0.7712, allocations: 62.08 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.7713, allocations: 169.5 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.7714, allocations: 75.42 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.378e-05/0.7714, allocations: 73.14 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.7714, allocations: 0 / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.7715, allocations: 38.73 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.7715, allocations: 0 / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003557/0.7718, allocations: 250.3 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.7719, allocations: 83.45 kB / 1.276 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/0.7719, allocations: 148.5 kB / 1.276 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.7719, allocations: 27.02 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.772, allocations: 93.11 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.772, allocations: 11.7 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.772, allocations: 28.47 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.823e-05/0.7721, allocations: 318.9 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.7722, allocations: 106.1 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.7723, allocations: 103.3 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.7726, allocations: 273.2 kB / 1.277 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7726, allocations: 4 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003063/0.7729, allocations: 326.8 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.7729, allocations: 68.41 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7729, allocations: 0.875 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.7729, allocations: 0 / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-07/0.7729, allocations: 0.8125 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.7729, allocations: 4.719 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.773, allocations: 13.52 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.773, allocations: 3.625 kB / 1.277 GB, free: 3.93 MB / 0.9981 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 6.77e-05/0.7731, allocations: 157.2 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.7731, allocations: 16.3 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.356e-05/0.7731, allocations: 7.578 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.7731, allocations: 3.938 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7732, allocations: 0.9062 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.7732, allocations: 0 / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.669e-05/0.7732, allocations: 172.4 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7732, allocations: 3.938 kB / 1.277 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.7732, allocations: 2.016 kB / 1.277 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.7732, allocations: 0 / 1.277 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.7732, allocations: 6.172 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.7732, allocations: 0.5 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7732, allocations: 5.844 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.7735, allocations: 223.9 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.7735, allocations: 87.98 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.7735, allocations: 5.656 kB / 1.278 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.399e-05/0.7736, allocations: 5.359 kB / 1.278 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.7736, allocations: 10.5 kB / 1.278 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.7736, allocations: 1.75 kB / 1.278 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.852e-05/0.7737, allocations: 117.8 kB / 1.278 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7737, allocations: 1 kB / 1.278 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002869/0.774, allocations: 67.17 kB / 1.278 GB, free: 3.219 MB / 0.9981 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.0005489/0.7745, allocations: 0.8077 MB / 1.279 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.7748, allocations: 331.4 kB / 1.279 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7748, allocations: 0 / 1.279 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.7749, allocations: 129.3 kB / 1.279 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.7751, allocations: 3.625 kB / 1.279 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.777, allocations: 2.15 MB / 1.281 GB, free: 16.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.7773, allocations: 0.6916 MB / 1.282 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.51e-06/0.7773, allocations: 0 / 1.282 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.7773, allocations: 17.27 kB / 1.282 GB, free: 16.25 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.7773, allocations: 0 / 1.282 GB, free: 16.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.803, allocations: 3.314 MB / 1.285 GB, free: 15.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.205/8.008, allocations: 9.281 kB / 1.285 GB, free: 15.76 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.42061312199803]