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.00144/0.00144, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001451/0.001452, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.292/1.292, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.521/2.521, allocations: 469.8 MB / 0.7421 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 67.52 kB / 0.9082 GB, free: 34.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2397, allocations: 159.2 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001599/0.2414, allocations: 0.697 MB / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003716/0.2417, allocations: 201 kB / 1.064 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.092e-05/0.2418, allocations: 4 kB / 1.064 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.2418, allocations: 0 / 1.064 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.2419, allocations: 15.86 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.2421, allocations: 63.89 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.012e-05/0.2422, allocations: 23.92 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.2422, allocations: 4 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.2422, allocations: 15.92 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.2423, allocations: 27.89 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.2423, allocations: 4 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.2425, allocations: 107.7 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.2425, allocations: 11.92 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.887e-05/0.2425, allocations: 7.938 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.2427, allocations: 111.7 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2427, allocations: 0 / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2427, allocations: 0 / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2427, allocations: 0 / 1.065 GB, free: 13.2 MB / 0.8262 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.0004735/0.2432, allocations: 367.7 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2432, allocations: 8.031 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.2433, allocations: 38.75 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.359e-05/0.2433, allocations: 4.844 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.2434, allocations: 168.4 kB / 1.065 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2434, allocations: 8.375 kB / 1.065 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.2435, allocations: 8.297 kB / 1.065 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.2436, allocations: 50.23 kB / 1.065 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2436, allocations: 11.84 kB / 1.065 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.842e-06/0.2436, allocations: 3.938 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-06/0.2436, allocations: 0 / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.2438, allocations: 35.97 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.244, allocations: 249 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.2442, allocations: 66.41 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.619e-05/0.2443, allocations: 36.92 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.2443, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2444, allocations: 30.56 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.2444, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.02748/0.2718, allocations: 1.616 MB / 1.067 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.2719, allocations: 55.41 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.345e-05/0.272, allocations: 117.8 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.69e-05/0.2721, allocations: 25.7 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.2721, allocations: 88.14 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.874e-05/0.2722, allocations: 31.53 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.2724, allocations: 25.7 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2725, allocations: 326.8 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.273, allocations: 143.9 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.2735, allocations: 135.9 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009177/0.2744, allocations: 300.8 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2744, allocations: 0 / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001103/0.2755, allocations: 329.5 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.2755, allocations: 5.406 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2755, allocations: 0 / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.2755, allocations: 0 / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.277, allocations: 75.92 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2771, allocations: 0 / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.2784, allocations: 47.94 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.2784, allocations: 4 kB / 1.069 GB, free: 8.605 MB / 0.8262 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.0001781/0.2786, allocations: 117.7 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.581e-05/0.2787, allocations: 8.562 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.2788, allocations: 16.38 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2788, allocations: 4 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2788, allocations: 4 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2788, allocations: 3.984 kB / 1.069 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005363/0.2842, allocations: 0.8415 MB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2842, allocations: 0 / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.2853, allocations: 55.88 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.2853, allocations: 0 / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/0.2854, allocations: 15.88 kB / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.2854, allocations: 0 / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2854, allocations: 4 kB / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/0.2863, allocations: 313.2 kB / 1.07 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.2863, allocations: 89 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.2864, allocations: 7.938 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009715/0.2874, allocations: 43.95 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.2874, allocations: 4 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.2874, allocations: 7.984 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.813e-05/0.2875, allocations: 95.22 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2875, allocations: 0 / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003666/0.2879, allocations: 95.98 kB / 1.071 GB, free: 6.781 MB / 0.8262 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.00125/0.2891, allocations: 0.8624 MB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009038/0.29, allocations: 255.8 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2901, allocations: 0 / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.2904, allocations: 91.89 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.2907, allocations: 13.83 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006146/0.2969, allocations: 2.687 MB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.2972, allocations: 0.6924 MB / 1.075 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004883/0.2976, allocations: 48.47 kB / 1.075 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/0.2981, allocations: 19.42 kB / 1.075 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2981, allocations: 0 / 1.075 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5558/0.8539, allocations: 9.694 MB / 1.085 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.8542, allocations: 210.4 kB / 1.085 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.361, allocations: 2.625 kB / 1.085 GB, free: 8.098 MB / 0.8419 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 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.mat","/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