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.001096/0.001096, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.555/2.555, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 66.31 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2463, allocations: 157.4 MB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001904/0.2483, allocations: 0.6378 MB / 1.054 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004015/0.2487, allocations: 211 kB / 1.054 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.2487, allocations: 0 / 1.054 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.2488, allocations: 3.938 kB / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.2489, allocations: 3.938 kB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.2491, allocations: 75.77 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.243e-05/0.2492, allocations: 31.95 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.2493, allocations: 4 kB / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.345e-05/0.2493, allocations: 11.92 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.2494, allocations: 23.86 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.2494, allocations: 4 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.2496, allocations: 107.7 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.2496, allocations: 15.92 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.2496, allocations: 11.92 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.2498, allocations: 99.81 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2498, allocations: 0 / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2498, allocations: 4 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2498, allocations: 0 / 1.054 GB, free: 7.008 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.0004817/0.2503, allocations: 371.6 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2504, allocations: 8.625 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.928e-05/0.2504, allocations: 34.75 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.2504, allocations: 8.844 kB / 1.055 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2506, allocations: 168.4 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2506, allocations: 4.375 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.2506, allocations: 8.359 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.2508, allocations: 54.23 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2508, allocations: 7.875 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2508, allocations: 4 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.2508, allocations: 0 / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.2509, allocations: 39.83 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.2512, allocations: 260.9 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.2514, allocations: 70.47 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.304e-05/0.2515, allocations: 20.94 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.2515, allocations: 0 / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.2515, allocations: 38.56 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2515, allocations: 0 / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.02726/0.2788, allocations: 1.609 MB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2789, allocations: 55.41 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.279, allocations: 113.8 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/0.2791, allocations: 29.7 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.2791, allocations: 96.03 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/0.2792, allocations: 23.66 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.2794, allocations: 25.61 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.2795, allocations: 326.8 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/0.28, allocations: 135.9 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.2805, allocations: 147.9 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009662/0.2815, allocations: 297.3 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2815, allocations: 0 / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001149/0.2826, allocations: 337.5 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2826, allocations: 4 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2827, allocations: 0 / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2827, allocations: 0 / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.2842, allocations: 63.88 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.2843, allocations: 0 / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.2857, allocations: 51.94 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.2857, allocations: 8 kB / 1.058 GB, free: 2.406 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.0001725/0.2859, allocations: 109.8 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.286, allocations: 11.89 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.2861, allocations: 16.38 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2861, allocations: 4 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2861, allocations: 0 / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2862, allocations: 3.938 kB / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00567/0.2918, allocations: 0.8531 MB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2918, allocations: 0 / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.293, allocations: 56 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.293, allocations: 4 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.293, allocations: 7.922 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.293, allocations: 0 / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.293, allocations: 4 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009106/0.294, allocations: 321.6 kB / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.294, allocations: 81.02 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/0.2941, allocations: 8 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.2951, allocations: 39.95 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.2952, allocations: 15.97 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.2952, allocations: 8 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.608e-05/0.2953, allocations: 91.27 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2953, allocations: 0 / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003784/0.2957, allocations: 96 kB / 1.06 GB, free: 0.5781 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.001264/0.2969, allocations: 0.8745 MB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000961/0.2979, allocations: 255.8 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.2979, allocations: 0 / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.2983, allocations: 95.88 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.2986, allocations: 5.375 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006259/0.3049, allocations: 2.667 MB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3051, allocations: 0.6846 MB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000473/0.3056, allocations: 55.98 kB / 1.065 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/0.3061, allocations: 19.42 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3061, allocations: 3.938 kB / 1.065 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2147/0.5208, allocations: 9.767 MB / 1.074 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.669, allocations: 8.625 kB / 1.074 GB, free: 2.055 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