Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.QuinticHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002372/0.002372, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.2 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6023/0.6037, allocations: 140.4 MB / 0.9497 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001569/0.6053, allocations: 0.631 MB / 0.9503 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003665/0.6057, allocations: 199 kB / 0.9505 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.6057, allocations: 0 / 0.9505 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.6058, allocations: 3.938 kB / 0.9505 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.6059, allocations: 13.36 kB / 0.9506 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.6061, allocations: 67.89 kB / 0.9506 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.547e-05/0.6062, allocations: 33.47 kB / 0.9507 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.6062, allocations: 6.125 kB / 0.9507 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.909e-05/0.6062, allocations: 17.55 kB / 0.9507 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.168e-05/0.6063, allocations: 22.72 kB / 0.9507 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.6063, allocations: 2.344 kB / 0.9507 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.6065, allocations: 110.2 kB / 0.9508 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.6065, allocations: 9.328 kB / 0.9508 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.6065, allocations: 10.34 kB / 0.9508 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.6067, allocations: 106.8 kB / 0.9509 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6067, allocations: 0 / 0.9509 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6067, allocations: 0 / 0.9509 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.6067, allocations: 4 kB / 0.9509 GB, free: 8.336 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000434/0.6071, allocations: 370.2 kB / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.6072, allocations: 9.719 kB / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.466e-05/0.6072, allocations: 34.73 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.6073, allocations: 3.469 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.6074, allocations: 181.4 kB / 0.9515 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.6074, allocations: 384 / 0.9515 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.6074, allocations: 2.656 kB / 0.9515 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.6075, allocations: 59.5 kB / 0.9516 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.6076, allocations: 5.219 kB / 0.9516 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.6076, allocations: 4 kB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.6076, allocations: 1.219 kB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.6077, allocations: 31.88 kB / 0.9516 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.6079, allocations: 246.5 kB / 0.9518 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.6081, allocations: 79.58 kB / 0.9519 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/0.6082, allocations: 19.94 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.6082, allocations: 1.375 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.6083, allocations: 36.16 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.6083, allocations: 3.938 kB / 0.952 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.02911/0.6374, allocations: 1.605 MB / 0.9535 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.6375, allocations: 56.45 kB / 0.9536 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.6376, allocations: 120.8 kB / 0.9537 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/0.6377, allocations: 25.7 kB / 0.9537 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.6377, allocations: 94.64 kB / 0.9538 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/0.6378, allocations: 26.08 kB / 0.9538 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.638, allocations: 21.06 kB / 0.9539 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.6381, allocations: 324.3 kB / 0.9542 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/0.6386, allocations: 142.8 kB / 0.9543 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.639, allocations: 144.2 kB / 0.9544 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009742/0.64, allocations: 294.5 kB / 0.9547 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.64, allocations: 1.875 kB / 0.9547 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001153/0.6412, allocations: 344.2 kB / 0.9551 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.6412, allocations: 5.375 kB / 0.9551 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6412, allocations: 2 kB / 0.9551 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6412, allocations: 0 / 0.9551 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.6429, allocations: 62.61 kB / 0.9551 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6429, allocations: 0 / 0.9551 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.6443, allocations: 43.86 kB / 0.9552 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.6443, allocations: 5.953 kB / 0.9552 GB, free: 5.406 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001598/0.6445, allocations: 123.9 kB / 0.9553 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.385e-05/0.6446, allocations: 7.516 kB / 0.9553 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.6447, allocations: 18.84 kB / 0.9553 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6447, allocations: 4 kB / 0.9553 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.6447, allocations: 1.062 kB / 0.9553 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6448, allocations: 3.984 kB / 0.9553 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005667/0.6504, allocations: 0.8494 MB / 0.9562 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6504, allocations: 0 / 0.9562 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.6516, allocations: 52.75 kB / 0.9562 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.6516, allocations: 5.438 kB / 0.9562 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.6517, allocations: 7.719 kB / 0.9562 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6517, allocations: 0 / 0.9562 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6517, allocations: 1.406 kB / 0.9562 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000887/0.6526, allocations: 328.1 kB / 0.9565 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.6526, allocations: 83.27 kB / 0.9566 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.523e-05/0.6527, allocations: 9.141 kB / 0.9566 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.6538, allocations: 38.45 kB / 0.9567 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.6538, allocations: 7.125 kB / 0.9567 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.6539, allocations: 3.156 kB / 0.9567 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.198e-05/0.6539, allocations: 101 kB / 0.9568 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6539, allocations: 0 / 0.9568 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004059/0.6543, allocations: 98.77 kB / 0.9569 GB, free: 4.145 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.001155/0.6555, allocations: 0.8656 MB / 0.9577 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009949/0.6565, allocations: 251.8 kB / 0.9579 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6565, allocations: 5.156 kB / 0.9579 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000418/0.6569, allocations: 88.58 kB / 0.958 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.6572, allocations: 7.062 kB / 0.958 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006229/0.6635, allocations: 2.671 MB / 0.9606 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.6636, allocations: 0.6905 MB / 0.9613 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004882/0.6641, allocations: 52.44 kB / 0.9614 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/0.6645, allocations: 20.7 kB / 0.9614 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.6645, allocations: 0 / 0.9614 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.6954, allocations: 9.766 MB / 0.9709 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/8.304, allocations: 7.859 kB / 0.9709 GB, free: 11.27 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches