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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001298/0.001298, allocations: 194.3 kB / 16.14 MB, free: 6.652 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.504/2.504, allocations: 437 MB / 0.71 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 71.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5336/0.535, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001797/0.5368, allocations: 0.7057 MB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000416/0.5372, allocations: 199.1 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.966e-05/0.5373, allocations: 4 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.5373, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.5375, allocations: 7.938 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.5376, allocations: 59.83 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.702e-05/0.5377, allocations: 35.91 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.5377, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.802e-05/0.5377, allocations: 11.94 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.007e-05/0.5378, allocations: 27.89 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.5378, allocations: 4 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.538, allocations: 107.7 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.538, allocations: 8 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.5381, allocations: 23.86 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.5382, allocations: 107.7 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5382, allocations: 0 / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.61e-07/0.5382, allocations: 0 / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.5383, allocations: 0 / 1.018 GB, free: 1.473 MB / 0.7637 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.0004828/0.5387, allocations: 365.6 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.5388, allocations: 12.03 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.5388, allocations: 38.75 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.5389, allocations: 0.9375 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.539, allocations: 176.2 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.539, allocations: 4.375 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.539, allocations: 384 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.5392, allocations: 62.17 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.5392, allocations: 7.922 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.5392, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5393, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.5394, allocations: 35.97 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.5397, allocations: 248.8 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.5399, allocations: 74.47 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.043e-05/0.54, allocations: 32.88 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.5401, allocations: 0 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.5401, allocations: 30.56 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.5401, allocations: 0 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of matching and sorting (n=8): time 0.02993/0.57, allocations: 1.605 MB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.5701, allocations: 55.41 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.5702, allocations: 117.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/0.5703, allocations: 29.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.5704, allocations: 88.05 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.602e-05/0.5705, allocations: 27.69 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.5707, allocations: 25.7 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.5708, allocations: 318.8 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.5713, allocations: 151.9 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.5718, allocations: 144.2 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.5728, allocations: 300.8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5728, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001218/0.5741, allocations: 337.4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5741, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5741, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.5741, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.5758, allocations: 63.94 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.5758, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.5772, allocations: 51.94 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.25e-05/0.5773, allocations: 4 kB / 1.022 GB, free: 12.88 MB / 0.7794 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.0001844/0.5774, allocations: 118.2 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.502e-05/0.5775, allocations: 11.91 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.5777, allocations: 16.36 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.5777, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5777, allocations: 4 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.5777, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005787/0.5835, allocations: 0.8377 MB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5835, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.5847, allocations: 51.94 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.5847, allocations: 7.938 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/0.5848, allocations: 3.938 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.5848, allocations: 3.938 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5848, allocations: 4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000971/0.5858, allocations: 329.2 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.5858, allocations: 85.42 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.427e-05/0.5859, allocations: 8.219 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.587, allocations: 43.95 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.587, allocations: 7.984 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.5871, allocations: 7.938 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.182e-05/0.5872, allocations: 95.2 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5872, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004163/0.5876, allocations: 96 kB / 1.024 GB, free: 11.05 MB / 0.7794 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.001307/0.5889, allocations: 0.8625 MB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009861/0.5899, allocations: 251.8 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5899, allocations: 0 / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.5903, allocations: 95.88 kB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.5906, allocations: 12.11 kB / 1.025 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006554/0.5972, allocations: 2.685 MB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.5975, allocations: 0.6926 MB / 1.028 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005437/0.598, allocations: 48 kB / 1.028 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005082/0.5985, allocations: 19.42 kB / 1.028 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.5985, allocations: 0 / 1.028 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.6174, allocations: 9.211 MB / 1.037 GB, free: 13.09 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.6176, allocations: 209.7 kB / 1.038 GB, free: 12.83 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.654, allocations: 2.125 kB / 1.038 GB, free: 12.83 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 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.mat","/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