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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001738/0.001738, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002116/0.002116, allocations: 190.6 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 2.402/2.402, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.046/3.046, allocations: 461.9 MB / 0.7344 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 66.7 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4431, allocations: 157.4 MB / 1.052 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.00338/0.4465, allocations: 0.7008 MB / 1.053 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006218/0.4472, allocations: 215 kB / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.4472, allocations: 0 / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.4473, allocations: 0 / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.4475, allocations: 7.938 kB / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.4478, allocations: 59.91 kB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.946e-05/0.4479, allocations: 35.89 kB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.518e-05/0.448, allocations: 0 / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.4481, allocations: 15.94 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.4482, allocations: 23.89 kB / 1.053 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.4483, allocations: 8 kB / 1.053 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.4485, allocations: 107.7 kB / 1.054 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.4486, allocations: 7.938 kB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.4486, allocations: 15.92 kB / 1.054 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.4489, allocations: 99.75 kB / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.449, allocations: 4 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.873e-06/0.449, allocations: 0 / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.449, allocations: 0 / 1.054 GB, free: 7.363 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.0008064/0.4498, allocations: 367.7 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.4499, allocations: 12.62 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.975e-05/0.45, allocations: 30.75 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.45, allocations: 4.844 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.4503, allocations: 176.4 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.4503, allocations: 4.375 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.4503, allocations: 384 / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.4506, allocations: 62.11 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.4506, allocations: 3.938 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.4507, allocations: 8 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.4507, allocations: 3.938 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.4509, allocations: 31.97 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.4514, allocations: 252.9 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.4518, allocations: 70.47 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.4519, allocations: 28.88 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.4519, allocations: 0 / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.452, allocations: 30.56 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.452, allocations: 0 / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.05277/0.5048, allocations: 1.616 MB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.5049, allocations: 51.41 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.5051, allocations: 113.8 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.5052, allocations: 29.7 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.5053, allocations: 88.05 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.5054, allocations: 27.64 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/0.5058, allocations: 29.61 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.506, allocations: 322.8 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000933/0.5069, allocations: 143.9 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009507/0.5079, allocations: 143.9 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.5098, allocations: 297.3 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5099, allocations: 0 / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002331/0.5122, allocations: 329.5 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.5122, allocations: 7.984 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5123, allocations: 4 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.5123, allocations: 4 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.5152, allocations: 59.94 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.5152, allocations: 0 / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.5177, allocations: 47.94 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.5179, allocations: 4 kB / 1.058 GB, free: 2.777 MB / 0.8106 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.0003232/0.5182, allocations: 113.8 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.5184, allocations: 12.33 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.5187, allocations: 28.38 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.5187, allocations: 0 / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.5187, allocations: 7.922 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5187, allocations: 0 / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.5292, allocations: 0.8454 MB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5293, allocations: 0 / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/0.5313, allocations: 51.94 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.5314, allocations: 4 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.265e-05/0.5315, allocations: 7.938 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-05/0.5315, allocations: 7.984 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.5315, allocations: 8 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.5333, allocations: 313.2 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.5334, allocations: 89 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.5336, allocations: 11.94 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/0.5355, allocations: 35.95 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.5356, allocations: 7.984 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.409e-05/0.5357, allocations: 4 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001374/0.5358, allocations: 95.27 kB / 1.06 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5359, allocations: 0 / 1.06 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007815/0.5367, allocations: 96 kB / 1.06 GB, free: 0.9414 MB / 0.8106 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.002401/0.5391, allocations: 0.8783 MB / 1.06 GB, free: 32 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001917/0.541, allocations: 247.8 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.541, allocations: 0 / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008056/0.5419, allocations: 100 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.5424, allocations: 8 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.5545, allocations: 2.68 MB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.555, allocations: 0.6885 MB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001152/0.5562, allocations: 48 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007778/0.557, allocations: 23.42 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of SimCode: time 1.202e-06/0.557, allocations: 0 / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.5954, allocations: 9.696 MB / 1.074 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003309/0.5958, allocations: 212.9 kB / 1.074 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/3.915, allocations: 0 / 1.074 GB, free: 2.27 MB / 0.8262 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