Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001365/0.001365, allocations: 107 kB / 16.45 MB, free: 6.453 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.001516/0.001516, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.541/1.541, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.399/3.399, allocations: 0.505 GB / 0.8066 GB, free: 23.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_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.002359/0.002359, allocations: 71.44 kB / 1.172 GB, free: 17.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4342, allocations: 180.2 MB / 1.348 GB, free: 9.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002236/0.4364, allocations: 0.6205 MB / 1.348 GB, free: 9.355 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.4388, allocations: 1.447 MB / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.4388, allocations: 0 / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.912e-05/0.4389, allocations: 7.922 kB / 1.35 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.877e-05/0.439, allocations: 4 kB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007277/0.4397, allocations: 170.5 kB / 1.35 GB, free: 7.715 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.4398, allocations: 43.91 kB / 1.35 GB, free: 7.672 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.4399, allocations: 12.27 kB / 1.35 GB, free: 7.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.633e-05/0.4399, allocations: 23.92 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.44, allocations: 27.91 kB / 1.35 GB, free: 7.609 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.44, allocations: 4 kB / 1.35 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.4404, allocations: 207.7 kB / 1.35 GB, free: 7.402 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.4404, allocations: 8 kB / 1.35 GB, free: 7.395 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.4405, allocations: 23.8 kB / 1.35 GB, free: 7.371 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.4408, allocations: 191.4 kB / 1.351 GB, free: 7.184 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4408, allocations: 4 kB / 1.351 GB, free: 7.18 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4408, allocations: 3.938 kB / 1.351 GB, free: 7.176 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4408, allocations: 4 kB / 1.351 GB, free: 7.172 MB / 1.045 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.0006222/0.4414, allocations: 442.3 kB / 1.351 GB, free: 6.68 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.4415, allocations: 15.98 kB / 1.351 GB, free: 6.664 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.4415, allocations: 30.75 kB / 1.351 GB, free: 6.625 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.4416, allocations: 8.891 kB / 1.351 GB, free: 6.617 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.4418, allocations: 170 kB / 1.351 GB, free: 6.414 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.4418, allocations: 8.359 kB / 1.351 GB, free: 6.406 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.4418, allocations: 384 / 1.351 GB, free: 6.406 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.442, allocations: 97.77 kB / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.442, allocations: 4 kB / 1.351 GB, free: 6.301 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4421, allocations: 0 / 1.351 GB, free: 6.301 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4421, allocations: 4 kB / 1.351 GB, free: 6.297 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.4422, allocations: 67.89 kB / 1.351 GB, free: 6.23 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.4424, allocations: 177.6 kB / 1.352 GB, free: 6.008 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.4425, allocations: 82.55 kB / 1.352 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4426, allocations: 60.86 kB / 1.352 GB, free: 5.855 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.4427, allocations: 4 kB / 1.352 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.998e-05/0.4427, allocations: 38.5 kB / 1.352 GB, free: 5.805 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.4427, allocations: 0 / 1.352 GB, free: 5.805 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004894/0.4432, allocations: 255.2 kB / 1.352 GB, free: 5.543 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/0.4433, allocations: 77.11 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.4435, allocations: 143.5 kB / 1.352 GB, free: 5.301 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.4435, allocations: 33.64 kB / 1.352 GB, free: 5.262 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.4436, allocations: 96.08 kB / 1.352 GB, free: 5.164 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.4436, allocations: 15.92 kB / 1.352 GB, free: 5.148 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.4437, allocations: 29.66 kB / 1.352 GB, free: 5.113 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4439, allocations: 318.8 kB / 1.353 GB, free: 4.793 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.444, allocations: 107.9 kB / 1.353 GB, free: 4.688 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.4442, allocations: 99.94 kB / 1.353 GB, free: 4.59 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.4445, allocations: 277.9 kB / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4445, allocations: 0 / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004016/0.4449, allocations: 324.7 kB / 1.353 GB, free: 3.961 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.499e-05/0.445, allocations: 71.39 kB / 1.353 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.445, allocations: 4.062 kB / 1.353 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.445, allocations: 4 kB / 1.353 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.445, allocations: 0 / 1.353 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.445, allocations: 0 / 1.353 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.4451, allocations: 11.94 kB / 1.353 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.4452, allocations: 8 kB / 1.353 GB, free: 3.852 MB / 1.045 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.0001476/0.4453, allocations: 151.5 kB / 1.354 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.4453, allocations: 12.03 kB / 1.354 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.4454, allocations: 8.234 kB / 1.354 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4454, allocations: 4 kB / 1.354 GB, free: 3.652 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.4454, allocations: 4 kB / 1.354 GB, free: 3.648 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4454, allocations: 0 / 1.354 GB, free: 3.648 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.4455, allocations: 169.6 kB / 1.354 GB, free: 3.434 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4455, allocations: 7.938 kB / 1.354 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.4455, allocations: 0 / 1.354 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.4455, allocations: 0 / 1.354 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.4455, allocations: 3.984 kB / 1.354 GB, free: 3.422 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4455, allocations: 0 / 1.354 GB, free: 3.422 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4455, allocations: 4 kB / 1.354 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.4459, allocations: 226.6 kB / 1.354 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.4459, allocations: 96.92 kB / 1.354 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.4459, allocations: 0 / 1.354 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.812e-05/0.446, allocations: 4 kB / 1.354 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.4461, allocations: 11.98 kB / 1.354 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4461, allocations: 4 kB / 1.354 GB, free: 3.039 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.91e-05/0.4462, allocations: 109.1 kB / 1.354 GB, free: 2.934 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4462, allocations: 0 / 1.354 GB, free: 2.934 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000321/0.4465, allocations: 67.97 kB / 1.354 GB, free: 2.867 MB / 1.045 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.0008336/0.4473, allocations: 0.8169 MB / 1.355 GB, free: 2.016 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004315/0.4477, allocations: 322.7 kB / 1.355 GB, free: 1.676 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4477, allocations: 4 kB / 1.355 GB, free: 1.672 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.4479, allocations: 127.4 kB / 1.356 GB, free: 1.535 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.448, allocations: 7.938 kB / 1.356 GB, free: 1.527 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.4506, allocations: 2.135 MB / 1.358 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.451, allocations: 0.6885 MB / 1.358 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.834e-06/0.451, allocations: 0 / 1.358 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.4511, allocations: 23.38 kB / 1.358 GB, free: 14.56 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.4511, allocations: 0 / 1.358 GB, free: 14.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.4802, allocations: 3.306 MB / 1.362 GB, free: 11.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.643, allocations: 2.688 kB / 1.362 GB, free: 11.36 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.02051099599339]