Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.001307/0.001307, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001312/0.001312, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.501/2.501, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 68.92 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2378, allocations: 157.4 MB / 1.052 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001624/0.2394, allocations: 0.6718 MB / 1.053 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.241, allocations: 1.431 MB / 1.054 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.849e-05/0.241, allocations: 0 / 1.054 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.226e-05/0.241, allocations: 0 / 1.054 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.839e-05/0.2411, allocations: 7.984 kB / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.2415, allocations: 131.7 kB / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.926e-05/0.2416, allocations: 39.97 kB / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.508e-05/0.2416, allocations: 4 kB / 1.054 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.2417, allocations: 23.91 kB / 1.054 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.2417, allocations: 27.91 kB / 1.054 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.2418, allocations: 4 kB / 1.054 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.242, allocations: 187.7 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.2421, allocations: 11.98 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.2421, allocations: 31.8 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.2424, allocations: 187.8 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2424, allocations: 0 / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2424, allocations: 4 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.2424, allocations: 0 / 1.055 GB, free: 5.398 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003681/0.2428, allocations: 438.7 kB / 1.055 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2428, allocations: 11.97 kB / 1.055 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.2428, allocations: 34.73 kB / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.2429, allocations: 12.83 kB / 1.055 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.243, allocations: 173.5 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.243, allocations: 4.375 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.243, allocations: 384 / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.2432, allocations: 101.8 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.2432, allocations: 0 / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2432, allocations: 4 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2432, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.279e-05/0.2433, allocations: 63.89 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.2434, allocations: 173.7 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.2436, allocations: 82.53 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.118e-05/0.2436, allocations: 68.89 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-06/0.2437, allocations: 8 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.2437, allocations: 38.5 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.2437, allocations: 0 / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003486/0.244, allocations: 255.1 kB / 1.056 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.2441, allocations: 81.09 kB / 1.056 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2442, allocations: 143 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2442, allocations: 37.62 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.2443, allocations: 88.05 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.2443, allocations: 11.94 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.2444, allocations: 29.7 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2445, allocations: 322.8 kB / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.2446, allocations: 103.9 kB / 1.057 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.2447, allocations: 99.94 kB / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.2449, allocations: 277.8 kB / 1.057 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.245, allocations: 3.938 kB / 1.057 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003141/0.2453, allocations: 320.8 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.2453, allocations: 75.44 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2453, allocations: 0 / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/0.2454, allocations: 4 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.2454, allocations: 0 / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2454, allocations: 0 / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2455, allocations: 11.84 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.2455, allocations: 8 kB / 1.058 GB, free: 2.078 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001006/0.2456, allocations: 147.5 kB / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.2456, allocations: 11.84 kB / 1.058 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.308e-05/0.2457, allocations: 12.23 kB / 1.058 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2457, allocations: 4 kB / 1.058 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2457, allocations: 0 / 1.058 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.2457, allocations: 0 / 1.058 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.831e-05/0.2458, allocations: 177.6 kB / 1.058 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2458, allocations: 3.938 kB / 1.058 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.2458, allocations: 0 / 1.058 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.2458, allocations: 0 / 1.058 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2458, allocations: 0 / 1.058 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2458, allocations: 4 kB / 1.058 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2458, allocations: 3.938 kB / 1.058 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.2461, allocations: 234.8 kB / 1.058 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.2461, allocations: 88.95 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.2461, allocations: 0 / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.658e-05/0.2462, allocations: 4 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.2462, allocations: 7.984 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.2462, allocations: 8 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.397e-05/0.2463, allocations: 108.7 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2463, allocations: 4.031 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002598/0.2466, allocations: 67.98 kB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006164/0.2472, allocations: 0.813 MB / 1.059 GB, free: 256 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003661/0.2476, allocations: 378.6 kB / 1.06 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2476, allocations: 4.094 kB / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.2477, allocations: 131.4 kB / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.2479, allocations: 9.516 kB / 1.06 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.2497, allocations: 2.136 MB / 1.062 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.2499, allocations: 0.6887 MB / 1.063 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.29e-06/0.2499, allocations: 0 / 1.063 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.25, allocations: 15.44 kB / 1.063 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.25, allocations: 4.031 kB / 1.063 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.2712, allocations: 3.026 MB / 1.066 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.2714, allocations: 222 kB / 1.066 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/1.952, allocations: 0 / 1.066 GB, free: 9.566 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches