Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_11_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.006858/0.006858, allocations: 102.5 kB / 15.74 MB, free: 6.031 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.001839/0.001839, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 64.11 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2767, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001647/0.2783, allocations: 0.6459 MB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004156/0.2788, allocations: 191.2 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.2788, allocations: 0 / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.2788, allocations: 7.875 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.279, allocations: 11.94 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.2792, allocations: 75.73 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.611e-05/0.2792, allocations: 23.92 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.2793, allocations: 4 kB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.258e-05/0.2793, allocations: 19.91 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.2794, allocations: 23.86 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.2794, allocations: 0 / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.2796, allocations: 111.8 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.2796, allocations: 11.92 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.2797, allocations: 15.86 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.2798, allocations: 99.75 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2798, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2799, allocations: 4 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2799, allocations: 0 / 1.221 GB, free: 13.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005314/0.2804, allocations: 371.1 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.2804, allocations: 12.03 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.2805, allocations: 34.69 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.2805, allocations: 12.88 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.2807, allocations: 168.4 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-06/0.2807, allocations: 384 / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.2807, allocations: 8.359 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.2809, allocations: 50.23 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.2809, allocations: 11.88 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.2809, allocations: 0 / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2809, allocations: 4 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.281, allocations: 35.97 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.2813, allocations: 248.9 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.2816, allocations: 72.31 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.2816, allocations: 28.92 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.2817, allocations: 0 / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.2817, allocations: 38.56 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.2817, allocations: 0 / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0303/0.312, allocations: 1.613 MB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.3121, allocations: 55.34 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3122, allocations: 122.1 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/0.3123, allocations: 25.7 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.3123, allocations: 84.14 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/0.3124, allocations: 27.84 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.3126, allocations: 29.64 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3128, allocations: 326.8 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005277/0.3133, allocations: 139.9 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/0.3138, allocations: 143.9 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.3149, allocations: 296.7 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.315, allocations: 4 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001268/0.3162, allocations: 329.5 kB / 1.226 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3163, allocations: 8 kB / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3163, allocations: 0 / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3163, allocations: 4 kB / 1.226 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.318, allocations: 67.86 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.318, allocations: 4 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.3195, allocations: 39.95 kB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/0.3196, allocations: 4 kB / 1.226 GB, free: 8.453 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: 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.0001681/0.3198, allocations: 121.8 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.18e-05/0.3199, allocations: 3.953 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.32, allocations: 20.38 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.32, allocations: 4 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.32, allocations: 0 / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.32, allocations: 0 / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006346/0.3264, allocations: 0.8377 MB / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3264, allocations: 4.219 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.3277, allocations: 55.94 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3277, allocations: 0 / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.3277, allocations: 11.86 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3277, allocations: 4 kB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3277, allocations: 432 / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3288, allocations: 329.1 kB / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.3288, allocations: 85.06 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/0.3289, allocations: 3.938 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.3301, allocations: 43.95 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.3301, allocations: 7.969 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.3302, allocations: 8 kB / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.598e-05/0.3302, allocations: 91.27 kB / 1.227 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3302, allocations: 4 kB / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004086/0.3307, allocations: 87.94 kB / 1.227 GB, free: 6.629 MB / 0.9825 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.001428/0.3321, allocations: 0.8823 MB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.3331, allocations: 243.8 kB / 1.228 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.3332, allocations: 4 kB / 1.228 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.3336, allocations: 91.94 kB / 1.229 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.3339, allocations: 8.125 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007174/0.3411, allocations: 2.684 MB / 1.231 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.3414, allocations: 0.6885 MB / 1.232 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004362/0.3419, allocations: 56.22 kB / 1.232 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/0.3424, allocations: 23.42 kB / 1.232 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3424, allocations: 480 / 1.232 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.3733, allocations: 9.797 MB / 1.241 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/8.15, allocations: 13.59 kB / 1.241 GB, free: 8.055 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches