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.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.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.005121/0.005121, allocations: 99.53 kB / 15.73 MB, free: 5.996 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.001187/0.001187, allocations: 195.3 kB / 16.68 MB, free: 5.918 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 1.054 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7423/0.7437, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001757/0.7455, allocations: 0.6142 MB / 1.208 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.7473, allocations: 1.39 MB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.7474, allocations: 0 / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.968e-05/0.7475, allocations: 0 / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.7475, allocations: 3.938 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006702/0.7482, allocations: 175.6 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.7483, allocations: 55.89 kB / 1.209 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.7484, allocations: 8 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.681e-05/0.7484, allocations: 15.98 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.7485, allocations: 27.89 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.7485, allocations: 4 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003327/0.7489, allocations: 195.7 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.7489, allocations: 15.92 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.749, allocations: 23.84 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.7492, allocations: 193.8 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7492, allocations: 0 / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7492, allocations: 0 / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.7493, allocations: 4 kB / 1.21 GB, free: 10.79 MB / 0.9356 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.0004283/0.7497, allocations: 442.6 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.7497, allocations: 8.031 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.7498, allocations: 30.75 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.7498, allocations: 8.844 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.75, allocations: 168.3 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.75, allocations: 4.375 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.75, allocations: 384 / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.7502, allocations: 101.8 kB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.7502, allocations: 4 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.7502, allocations: 4 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.7502, allocations: 3.938 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.698e-05/0.7503, allocations: 59.95 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.7505, allocations: 177.6 kB / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.7506, allocations: 78.53 kB / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/0.7507, allocations: 68.89 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.7507, allocations: 4 kB / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.7508, allocations: 38.5 kB / 1.211 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.7508, allocations: 3.938 kB / 1.211 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004209/0.7512, allocations: 259.1 kB / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.7513, allocations: 77.11 kB / 1.211 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.7514, allocations: 147.9 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.7514, allocations: 29.7 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.7515, allocations: 84.14 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.7515, allocations: 23.73 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.7516, allocations: 29.75 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7517, allocations: 314.8 kB / 1.212 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.7519, allocations: 99.94 kB / 1.212 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.752, allocations: 107.9 kB / 1.212 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.7523, allocations: 281.8 kB / 1.213 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7523, allocations: 0 / 1.213 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003623/0.7527, allocations: 324.7 kB / 1.213 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/0.7527, allocations: 71.39 kB / 1.213 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.7527, allocations: 4.062 kB / 1.213 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.7528, allocations: 4 kB / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-07/0.7528, allocations: 0 / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.7528, allocations: 0 / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.753, allocations: 4 kB / 1.213 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.753, allocations: 4 kB / 1.213 GB, free: 7.488 MB / 0.9356 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.0001172/0.7531, allocations: 151.5 kB / 1.213 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.7531, allocations: 11.84 kB / 1.213 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.877e-05/0.7532, allocations: 8.25 kB / 1.213 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.7532, allocations: 4.141 kB / 1.213 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.7532, allocations: 4 kB / 1.213 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7532, allocations: 3.984 kB / 1.213 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.7533, allocations: 173.6 kB / 1.213 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7533, allocations: 7.938 kB / 1.213 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.7533, allocations: 0 / 1.213 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7533, allocations: 0 / 1.213 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.7533, allocations: 3.938 kB / 1.213 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7534, allocations: 3.938 kB / 1.213 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7534, allocations: 4 kB / 1.213 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.7536, allocations: 230.6 kB / 1.213 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.7537, allocations: 92.89 kB / 1.214 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.7537, allocations: 0 / 1.214 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.7538, allocations: 7.984 kB / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.7538, allocations: 4 kB / 1.214 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.7539, allocations: 8 kB / 1.214 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.712e-05/0.7539, allocations: 105.1 kB / 1.214 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7539, allocations: 0 / 1.214 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000299/0.7542, allocations: 79.95 kB / 1.214 GB, free: 6.488 MB / 0.9356 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.0007402/0.755, allocations: 0.8053 MB / 1.215 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003854/0.7554, allocations: 370.6 kB / 1.215 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7554, allocations: 0 / 1.215 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.7555, allocations: 147.4 kB / 1.215 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.7557, allocations: 4 kB / 1.215 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.7579, allocations: 2.145 MB / 1.217 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.7582, allocations: 0.6924 MB / 1.218 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.664e-06/0.7582, allocations: 0 / 1.218 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.7582, allocations: 15.44 kB / 1.218 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.7583, allocations: 4 kB / 1.218 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.7776, allocations: 3.344 MB / 1.221 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.43, allocations: 7.984 kB / 1.221 GB, free: 14.89 MB / 0.9512 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