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.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.001821/0.001821, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002509/0.002509, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.806/2.806, allocations: 476 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002153/0.002153, allocations: 71.97 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3388, allocations: 169.9 MB / 1.283 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001818/0.3406, allocations: 0.625 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.3427, allocations: 1.378 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.3427, allocations: 0 / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.426e-05/0.3428, allocations: 7.938 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.312e-05/0.3428, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/0.3436, allocations: 193.7 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.3437, allocations: 43.95 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.544e-05/0.3438, allocations: 4 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.3438, allocations: 19.92 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.3439, allocations: 31.84 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.3439, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.3443, allocations: 223.7 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.3444, allocations: 4 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.3444, allocations: 23.86 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.3447, allocations: 185.2 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.3447, allocations: 7.984 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3447, allocations: 0 / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.3447, allocations: 0 / 1.285 GB, free: 9.633 MB / 0.9825 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.0005626/0.3453, allocations: 365.2 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3454, allocations: 8.031 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.3454, allocations: 34.75 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.3454, allocations: 8.891 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.3456, allocations: 122.5 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3456, allocations: 384 / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3456, allocations: 8.312 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.3458, allocations: 131.5 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3458, allocations: 0 / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3459, allocations: 0 / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3459, allocations: 0 / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.346, allocations: 93.59 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.3462, allocations: 148.7 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.3463, allocations: 108.2 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.3464, allocations: 90.59 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.3464, allocations: 4 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.3465, allocations: 42.48 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3465, allocations: 0 / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004479/0.3469, allocations: 306.6 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.347, allocations: 85.09 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3471, allocations: 148.2 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3471, allocations: 25.7 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.3472, allocations: 92.12 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.3472, allocations: 15.91 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.3473, allocations: 29.7 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3474, allocations: 318.9 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.3476, allocations: 175.3 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.3478, allocations: 167.3 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.3481, allocations: 281.8 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3481, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004351/0.3485, allocations: 400.1 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.647e-05/0.3486, allocations: 75.38 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3486, allocations: 4 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3486, allocations: 3.938 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.3486, allocations: 0 / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.902e-06/0.3486, allocations: 64 / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.3488, allocations: 19.89 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.3488, allocations: 4 kB / 1.288 GB, free: 6.055 MB / 0.9825 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.0001277/0.3489, allocations: 151.5 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.349, allocations: 11.89 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.349, allocations: 8.328 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.349, allocations: 144 / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.349, allocations: 3.938 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.349, allocations: 3.984 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.3491, allocations: 140.7 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3491, allocations: 3.938 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.3491, allocations: 8 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3491, allocations: 0 / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3491, allocations: 0 / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3491, allocations: 0 / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3491, allocations: 0 / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.3495, allocations: 268.3 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.3495, allocations: 11.83 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.3495, allocations: 4 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.974e-05/0.3496, allocations: 7.984 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.3496, allocations: 4 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.3496, allocations: 4.031 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.619e-05/0.3497, allocations: 111.2 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3497, allocations: 0 / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003124/0.35, allocations: 63.92 kB / 1.289 GB, free: 5.172 MB / 0.9825 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.0008233/0.3509, allocations: 0.8382 MB / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004814/0.3514, allocations: 415.8 kB / 1.29 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3514, allocations: 0 / 1.29 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.3515, allocations: 157 kB / 1.291 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.3517, allocations: 6.75 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.3542, allocations: 2.459 MB / 1.293 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.606e-05/0.3543, allocations: 79.58 kB / 1.293 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.507e-06/0.3543, allocations: 3.984 kB / 1.293 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.3543, allocations: 15.62 kB / 1.293 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3543, allocations: 0 / 1.293 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.3872, allocations: 3.915 MB / 1.297 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.77, allocations: 14 kB / 1.297 GB, free: 13.16 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.61221251497045]