Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_10_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.005803/0.005803, allocations: 101 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.89 kB / 1.018 GB, free: 9.816 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7341/0.7361, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.00179/0.7379, allocations: 0.6368 MB / 1.167 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004548/0.7384, allocations: 203.1 kB / 1.167 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.7384, allocations: 0 / 1.167 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.7384, allocations: 3.938 kB / 1.167 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.7386, allocations: 11.94 kB / 1.167 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.7388, allocations: 75.75 kB / 1.167 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.526e-05/0.7389, allocations: 27.97 kB / 1.167 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.739, allocations: 4 kB / 1.167 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.739, allocations: 15.92 kB / 1.167 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.636e-05/0.7391, allocations: 27.84 kB / 1.167 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.7391, allocations: 0 / 1.167 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.7393, allocations: 111.7 kB / 1.167 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.7393, allocations: 7.922 kB / 1.167 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.7394, allocations: 11.94 kB / 1.167 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.7396, allocations: 107.5 kB / 1.167 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7396, allocations: 0 / 1.167 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7396, allocations: 0 / 1.167 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7396, allocations: 0 / 1.167 GB, free: 2.5 MB / 0.8887 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.0005945/0.7402, allocations: 375.1 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.7402, allocations: 8.922 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.7403, allocations: 30.75 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.7403, allocations: 12.88 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.7405, allocations: 168.4 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.7405, allocations: 8.375 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.7405, allocations: 4.375 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.7407, allocations: 50.23 kB / 1.168 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.7407, allocations: 19.8 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.7407, allocations: 4 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.7407, allocations: 0 / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.7409, allocations: 35.91 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.7412, allocations: 249 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.7414, allocations: 66.47 kB / 1.168 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.7415, allocations: 28.92 kB / 1.168 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.7415, allocations: 4 kB / 1.168 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.7416, allocations: 34.56 kB / 1.168 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.7416, allocations: 0 / 1.168 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.02691/0.7685, allocations: 1.613 MB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.7686, allocations: 51.41 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.7687, allocations: 125.8 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/0.7687, allocations: 25.7 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.7688, allocations: 84.14 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.7689, allocations: 27.75 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.7691, allocations: 25.7 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7693, allocations: 322.8 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.7698, allocations: 143.9 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.7703, allocations: 143.9 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.7714, allocations: 297.3 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.7714, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001259/0.7727, allocations: 337.5 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7727, allocations: 8 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7727, allocations: 0 / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.7727, allocations: 0 / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.7743, allocations: 67.86 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.7743, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.7756, allocations: 47.95 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.7757, allocations: 3.984 kB / 1.172 GB, free: 13.9 MB / 0.9044 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.000183/0.7759, allocations: 121.8 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.719e-05/0.776, allocations: 7.953 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.7761, allocations: 16.45 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.7761, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7761, allocations: 4 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7761, allocations: 3.938 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005803/0.7819, allocations: 0.8375 MB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.782, allocations: 4 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.7831, allocations: 56 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.7831, allocations: 0 / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/0.7832, allocations: 15.92 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.7832, allocations: 3.984 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7832, allocations: 64 / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.7842, allocations: 325.1 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.7843, allocations: 85.06 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.7843, allocations: 7.938 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.7854, allocations: 39.95 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.7854, allocations: 7.984 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.7855, allocations: 4 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.373e-05/0.7855, allocations: 99.27 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7855, allocations: 384 / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004171/0.786, allocations: 87.94 kB / 1.173 GB, free: 12.07 MB / 0.9044 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.001412/0.7874, allocations: 0.8817 MB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.7884, allocations: 247.8 kB / 1.174 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7885, allocations: 0 / 1.174 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.7889, allocations: 95.94 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.7892, allocations: 10.17 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006876/0.7961, allocations: 2.676 MB / 1.177 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.7965, allocations: 0.6885 MB / 1.178 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006215/0.7972, allocations: 48 kB / 1.178 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005044/0.7977, allocations: 27.42 kB / 1.178 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of SimCode: time 7.62e-07/0.7977, allocations: 0 / 1.178 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.8309, allocations: 9.8 MB / 1.187 GB, free: 13.5 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.51/9.34, allocations: 5.578 kB / 1.187 GB, free: 13.5 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches