Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_latest_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.001019/0.001024, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005223/0.005223, allocations: 169.6 kB / 16.27 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.235/1.235, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.642/2.642, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003146, allocations: 12.5 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2684, allocations: 159.6 MB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0006737/0.2691, allocations: 378.6 kB / 1.059 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004035/0.2695, allocations: 207.1 kB / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.849e-05/0.2695, allocations: 7.938 kB / 1.059 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.2696, allocations: 4 kB / 1.059 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.2697, allocations: 0 / 1.059 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.2699, allocations: 71.81 kB / 1.059 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.314e-05/0.2699, allocations: 27.92 kB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.27, allocations: 4 kB / 1.059 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.349e-05/0.27, allocations: 11.92 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.2701, allocations: 27.91 kB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.2701, allocations: 0 / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.2703, allocations: 115.7 kB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.2703, allocations: 7.984 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.2703, allocations: 41.58 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2705, allocations: 99.75 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2705, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2705, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.2705, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 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.0004499/0.271, allocations: 371.7 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.271, allocations: 11.97 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.2711, allocations: 34.73 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.2711, allocations: 4.938 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.2712, allocations: 180.3 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.2712, allocations: 384 / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.2713, allocations: 4.375 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.2714, allocations: 54.23 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2714, allocations: 11.88 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.2714, allocations: 0 / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2715, allocations: 4 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.2716, allocations: 43.91 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002424/0.2718, allocations: 245 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.2721, allocations: 86.47 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-05/0.2722, allocations: 28.94 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.2722, allocations: 0 / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.2722, allocations: 34.5 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2722, allocations: 0 / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.03131/0.3035, allocations: 1.761 MB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.3036, allocations: 59.41 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.616e-05/0.3037, allocations: 113.8 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.379e-05/0.3038, allocations: 25.7 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.3038, allocations: 92.05 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.3039, allocations: 27.64 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/0.304, allocations: 13.72 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.3041, allocations: 323.1 kB / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005355/0.3047, allocations: 155.9 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.3052, allocations: 167.8 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.3062, allocations: 336.7 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3063, allocations: 0 / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001246/0.3075, allocations: 385.4 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3075, allocations: 4 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3075, allocations: 0 / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3076, allocations: 4 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.3093, allocations: 79.89 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3093, allocations: 0 / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.3109, allocations: 55.94 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/0.311, allocations: 7.984 kB / 1.064 GB, free: 14.93 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.0001811/0.3112, allocations: 117.8 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.46e-05/0.3113, allocations: 7.906 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.3114, allocations: 20.38 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3114, allocations: 0 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3114, allocations: 0 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3114, allocations: 432 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006492/0.3179, allocations: 0.9195 MB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3179, allocations: 4.062 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.3192, allocations: 71.97 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3192, allocations: 0 / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/0.3193, allocations: 15.91 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3193, allocations: 0 / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3193, allocations: 4.281 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000994/0.3203, allocations: 376.9 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.3204, allocations: 85.02 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.3204, allocations: 7.875 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.3217, allocations: 51.95 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.3217, allocations: 7.984 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.3218, allocations: 7.984 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.494e-05/0.3218, allocations: 91.27 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3218, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004169/0.3222, allocations: 100 kB / 1.066 GB, free: 12.95 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.001353/0.3236, allocations: 0.917 MB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.3246, allocations: 279.8 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3246, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.3251, allocations: 119.8 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.3254, allocations: 10.53 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00695/0.3324, allocations: 2.824 MB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.3326, allocations: 0.6848 MB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000507/0.3331, allocations: 56.2 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004851/0.3336, allocations: 35.38 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.3336, allocations: 4 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03961/0.3732, allocations: 9.278 MB / 1.08 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.3734, allocations: 223 kB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/2.479, allocations: 0 / 1.08 GB, free: 14.44 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches