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.001615/0.001615, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002185/0.002184, allocations: 194.8 kB / 16.25 MB, free: 6.637 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.473/2.473, allocations: 437 MB / 0.7101 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7343/0.7355, allocations: 151.6 MB / 1.017 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002236/0.7378, allocations: 0.6957 MB / 1.018 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004756/0.7383, allocations: 199.1 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.7383, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.7384, allocations: 3.938 kB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.7386, allocations: 11.94 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.7388, allocations: 63.83 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.543e-05/0.7389, allocations: 23.97 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.7389, allocations: 4 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.97e-05/0.739, allocations: 15.92 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.442e-05/0.7391, allocations: 23.91 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.7391, allocations: 4 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.7393, allocations: 111.7 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.7393, allocations: 0 / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.7393, allocations: 27.78 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.7395, allocations: 103.8 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7395, allocations: 4 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7395, allocations: 0 / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7396, allocations: 0 / 1.018 GB, free: 1.551 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.000571/0.7401, allocations: 369.6 kB / 1.019 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.7402, allocations: 11.97 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.7402, allocations: 34.75 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.7403, allocations: 4.938 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.7404, allocations: 184.1 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.7405, allocations: 4.375 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.7405, allocations: 4.375 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.7406, allocations: 50.23 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.7407, allocations: 3.938 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.7407, allocations: 4 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.7407, allocations: 4 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.7408, allocations: 35.95 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.7412, allocations: 248.9 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.7414, allocations: 70.47 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/0.7415, allocations: 24.94 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.7415, allocations: 0 / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.7415, allocations: 34.56 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.7415, allocations: 0 / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of matching and sorting (n=8): time 0.02805/0.7696, allocations: 1.616 MB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.7696, allocations: 51.41 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.725e-05/0.7697, allocations: 125.7 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.149e-05/0.7698, allocations: 25.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.7699, allocations: 92.03 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.246e-05/0.77, allocations: 19.72 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.7702, allocations: 29.7 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.7703, allocations: 322.8 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/0.7708, allocations: 139.9 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.7712, allocations: 143.9 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009336/0.7722, allocations: 301.3 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.7722, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001135/0.7733, allocations: 333.4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.7734, allocations: 8 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7734, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.7734, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.775, allocations: 63.88 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.775, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.7764, allocations: 47.94 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.7764, allocations: 0 / 1.022 GB, free: 12.96 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.0001868/0.7766, allocations: 122.2 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.276e-05/0.7767, allocations: 11.91 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.7769, allocations: 20.36 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.7769, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.7769, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.7769, allocations: 4 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005596/0.7825, allocations: 0.8377 MB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7825, allocations: 7.938 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.7836, allocations: 56.3 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.7837, allocations: 0 / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/0.7837, allocations: 11.94 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.7837, allocations: 3.984 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7837, allocations: 4.062 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009077/0.7846, allocations: 317 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.7847, allocations: 97 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.362e-05/0.7848, allocations: 3.938 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.7858, allocations: 39.95 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.7859, allocations: 7.984 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.7859, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.629e-05/0.786, allocations: 103.3 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.786, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003822/0.7864, allocations: 88 kB / 1.024 GB, free: 11.13 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.001262/0.7876, allocations: 0.878 MB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000922/0.7886, allocations: 243.8 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7886, allocations: 0 / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000391/0.789, allocations: 100.1 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.7893, allocations: 6.109 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006214/0.7955, allocations: 2.69 MB / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.7957, allocations: 0.6807 MB / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005244/0.7962, allocations: 48 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/0.7967, allocations: 23.42 kB / 1.029 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.7967, allocations: 0 / 1.029 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.8162, allocations: 9.691 MB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.8164, allocations: 214 kB / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.913, allocations: 0 / 1.038 GB, free: 12.44 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