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.007254/0.007254, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001556/0.001556, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.671/2.671, allocations: 437.1 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 67.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3111, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002434/0.3136, allocations: 0.6329 MB / 1.167 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000654/0.3142, allocations: 215.5 kB / 1.167 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.479e-05/0.3143, allocations: 0 / 1.167 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.3144, allocations: 3.938 kB / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.3147, allocations: 7.938 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.315, allocations: 75.75 kB / 1.167 GB, free: 6.34 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3152, allocations: 27.91 kB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.409e-05/0.3152, allocations: 4 kB / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.206e-05/0.3153, allocations: 11.98 kB / 1.167 GB, free: 6.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3154, allocations: 31.78 kB / 1.167 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.3155, allocations: 4 kB / 1.167 GB, free: 6.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.3158, allocations: 107.8 kB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.3158, allocations: 7.938 kB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.3158, allocations: 11.92 kB / 1.167 GB, free: 6.137 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.3162, allocations: 108 kB / 1.167 GB, free: 6.031 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/0.3162, allocations: 0 / 1.167 GB, free: 6.031 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3162, allocations: 0 / 1.167 GB, free: 6.031 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.3162, allocations: 0 / 1.167 GB, free: 6.031 MB / 0.92 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.0008464/0.3171, allocations: 375.1 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.976e-05/0.3171, allocations: 8.031 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.27e-05/0.3172, allocations: 34.69 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.3173, allocations: 8.891 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.3175, allocations: 176.4 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3175, allocations: 384 / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.3175, allocations: 4.375 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.3177, allocations: 50.23 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.3178, allocations: 3.938 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.3178, allocations: 4 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3178, allocations: 4 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.318, allocations: 31.97 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.3184, allocations: 256.8 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.3187, allocations: 70.47 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.3188, allocations: 32.86 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.3188, allocations: 4 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3189, allocations: 34.56 kB / 1.168 GB, free: 4.781 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.3189, allocations: 0 / 1.168 GB, free: 4.781 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0248/0.3437, allocations: 1.609 MB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.3438, allocations: 55.34 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3439, allocations: 117.8 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.344, allocations: 25.7 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.344, allocations: 84.14 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-05/0.3441, allocations: 31.73 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.3443, allocations: 25.7 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3444, allocations: 322.8 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.3449, allocations: 143.9 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/0.3454, allocations: 143.9 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009656/0.3464, allocations: 300.8 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.3464, allocations: 3.938 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001163/0.3476, allocations: 326.1 kB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3476, allocations: 12.08 kB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3476, allocations: 3.938 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3476, allocations: 4 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.3491, allocations: 63.88 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3491, allocations: 0 / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.3504, allocations: 51.94 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.3504, allocations: 0 / 1.172 GB, free: 1.43 MB / 0.92 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.0001769/0.3506, allocations: 117.8 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.64e-05/0.3507, allocations: 7.953 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.3508, allocations: 20.36 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3509, allocations: 4 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3509, allocations: 4 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3509, allocations: 0 / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005471/0.3563, allocations: 0.8414 MB / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.3564, allocations: 4 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.3574, allocations: 51.94 kB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3575, allocations: 0 / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/0.3575, allocations: 7.938 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3575, allocations: 0 / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3575, allocations: 0 / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009561/0.3585, allocations: 325.2 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.3586, allocations: 89 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.3586, allocations: 7.938 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009669/0.3596, allocations: 39.95 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.3596, allocations: 4 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/0.3597, allocations: 7.984 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.467e-05/0.3598, allocations: 95.27 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3598, allocations: 0 / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004122/0.3602, allocations: 91.88 kB / 1.173 GB, free: 15.61 MB / 0.9356 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.001368/0.3616, allocations: 0.8858 MB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009894/0.3626, allocations: 244.1 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3626, allocations: 0 / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004083/0.363, allocations: 96.12 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3633, allocations: 18.03 kB / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/0.3697, allocations: 2.676 MB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.37, allocations: 0.6885 MB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004267/0.3704, allocations: 55.77 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/0.3709, allocations: 23.42 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of SimCode: time 7.81e-07/0.3709, allocations: 0 / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.403, allocations: 9.802 MB / 1.187 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.969/8.372, allocations: 11.83 kB / 1.187 GB, free: 1.02 MB / 0.9356 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