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.000981/0.0009812, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.00115/0.00115, allocations: 181.8 kB / 16.28 MB, free: 6.656 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.27/1.27, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.313/2.313, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 12 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5701/0.5705, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0006502/0.5711, allocations: 373.3 kB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004034/0.5716, allocations: 203.1 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.5716, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.092e-05/0.5716, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.5718, allocations: 11.92 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.5719, allocations: 63.89 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.855e-05/0.572, allocations: 23.92 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.572, allocations: 7.984 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.805e-05/0.5721, allocations: 19.86 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.869e-05/0.5721, allocations: 23.91 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.5721, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.5723, allocations: 111.7 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.5723, allocations: 3.938 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.5724, allocations: 45.61 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.5725, allocations: 107.8 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5725, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5726, allocations: 4 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.946e-06/0.5726, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.7794 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.0004299/0.573, allocations: 357.8 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.573, allocations: 8.031 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.5731, allocations: 38.75 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.5731, allocations: 12.83 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.5732, allocations: 172.2 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.5732, allocations: 4.359 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.5733, allocations: 4.375 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.5734, allocations: 58.17 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5734, allocations: 7.875 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.5735, allocations: 11.98 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.5735, allocations: 4 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.5736, allocations: 35.97 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.5738, allocations: 241 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.5741, allocations: 90.41 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/0.5742, allocations: 28.92 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.5742, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.5742, allocations: 34.56 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.5742, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.02899/0.6032, allocations: 1.753 MB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.6033, allocations: 51.41 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.984e-05/0.6033, allocations: 121.8 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.617e-05/0.6034, allocations: 29.7 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.6035, allocations: 88.5 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.6036, allocations: 27.61 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.589e-05/0.6037, allocations: 17.7 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.6038, allocations: 318.8 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/0.6043, allocations: 163.8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.6048, allocations: 163.8 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.6058, allocations: 336.8 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.6058, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001189/0.607, allocations: 385.3 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.607, allocations: 6.031 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.607, allocations: 0 / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.607, allocations: 0 / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.6087, allocations: 83.89 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.6087, allocations: 0 / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.6101, allocations: 51.95 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.6102, allocations: 11.97 kB / 1.029 GB, free: 9.961 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.0001823/0.6104, allocations: 121.7 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.6105, allocations: 7.938 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.6106, allocations: 20.38 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-06/0.6106, allocations: 0 / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.6106, allocations: 3.984 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6106, allocations: 7.938 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006126/0.6168, allocations: 0.9079 MB / 1.03 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.6168, allocations: 3.984 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.618, allocations: 71.97 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.618, allocations: 4.281 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.6181, allocations: 8.344 kB / 1.03 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6181, allocations: 0 / 1.03 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6181, allocations: 11.88 kB / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009625/0.619, allocations: 373 kB / 1.03 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.6191, allocations: 81.11 kB / 1.03 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/0.6192, allocations: 11.92 kB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.6203, allocations: 47.94 kB / 1.03 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.6203, allocations: 4 kB / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.6204, allocations: 15.97 kB / 1.03 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.456e-05/0.6204, allocations: 87.28 kB / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.533e-06/0.6204, allocations: 0 / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003915/0.6208, allocations: 103.9 kB / 1.03 GB, free: 7.973 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.001337/0.6222, allocations: 0.917 MB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009727/0.6231, allocations: 287.8 kB / 1.032 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6232, allocations: 0 / 1.032 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004166/0.6236, allocations: 124 kB / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.6239, allocations: 5.547 kB / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006673/0.6305, allocations: 2.824 MB / 1.035 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.6308, allocations: 0.6887 MB / 1.035 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004797/0.6313, allocations: 56.22 kB / 1.035 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/0.6317, allocations: 39.36 kB / 1.035 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6317, allocations: 0 / 1.035 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.6516, allocations: 9.276 MB / 1.044 GB, free: 9.703 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/0.6519, allocations: 212.4 kB / 1.045 GB, free: 9.445 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.691, allocations: 3.234 kB / 1.045 GB, free: 9.445 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