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.001093/0.001093, 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.001119/0.001119, allocations: 192 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 469.4 MB / 0.742 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 66.59 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2429, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001765/0.2447, allocations: 0.6136 MB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.2464, allocations: 1.39 MB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.2464, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.628e-05/0.2465, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.639e-05/0.2465, allocations: 7.875 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006697/0.2472, allocations: 177.5 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2473, allocations: 47.97 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.2474, allocations: 11.97 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.371e-05/0.2474, allocations: 15.92 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.2475, allocations: 23.98 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.2475, allocations: 0 / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.2479, allocations: 203.7 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.2479, allocations: 15.92 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.248, allocations: 19.86 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.2483, allocations: 191.8 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2483, allocations: 4 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2483, allocations: 0 / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2483, allocations: 4 kB / 1.066 GB, free: 11.75 MB / 0.8262 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.0004614/0.2488, allocations: 434.7 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.2488, allocations: 12.03 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.2489, allocations: 30.75 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.2489, allocations: 16.78 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.249, allocations: 176.2 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.2491, allocations: 384 / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.2491, allocations: 4.375 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.2493, allocations: 101.7 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2493, allocations: 4 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2493, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2493, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.876e-05/0.2494, allocations: 63.95 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.2496, allocations: 169.7 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.2497, allocations: 82.53 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.406e-05/0.2498, allocations: 68.88 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-06/0.2498, allocations: 0 / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.2498, allocations: 46.44 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2498, allocations: 0 / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003686/0.2502, allocations: 251.2 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.2502, allocations: 81.11 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2504, allocations: 150.9 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.2504, allocations: 25.7 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.2504, allocations: 96.11 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.2505, allocations: 11.81 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.2505, allocations: 33.73 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.809e-05/0.2506, allocations: 314.8 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.2507, allocations: 103.9 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.2508, allocations: 103.9 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.2511, allocations: 281.8 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2511, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003195/0.2514, allocations: 320.8 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.235e-05/0.2515, allocations: 68.8 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2515, allocations: 4.062 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2515, allocations: 0 / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-06/0.2515, allocations: 4 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2515, allocations: 3.984 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.2517, allocations: 11.84 kB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.2517, allocations: 4 kB / 1.069 GB, free: 8.438 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: 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.0001017/0.2518, allocations: 153.3 kB / 1.069 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.2518, allocations: 15.78 kB / 1.069 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.363e-05/0.2518, allocations: 4.25 kB / 1.069 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2518, allocations: 7.938 kB / 1.069 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2518, allocations: 0 / 1.069 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2519, allocations: 3.984 kB / 1.069 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.686e-05/0.252, allocations: 169.7 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.252, allocations: 3.938 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-06/0.252, allocations: 3.984 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.252, allocations: 4 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.252, allocations: 0 / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.252, allocations: 0 / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.252, allocations: 4 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.2523, allocations: 230.6 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.2523, allocations: 92.95 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.2523, allocations: 0 / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.579e-05/0.2524, allocations: 4 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.2525, allocations: 7.984 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.2525, allocations: 0 / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.572e-05/0.2525, allocations: 113.1 kB / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2525, allocations: 0 / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002917/0.2528, allocations: 64.03 kB / 1.07 GB, free: 7.465 MB / 0.8262 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.0006849/0.2535, allocations: 0.8136 MB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003511/0.2539, allocations: 370.7 kB / 1.071 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2539, allocations: 0 / 1.071 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.254, allocations: 143.4 kB / 1.071 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.2542, allocations: 8 kB / 1.071 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.2561, allocations: 2.134 MB / 1.073 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.2563, allocations: 0.6924 MB / 1.074 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.142e-06/0.2563, allocations: 0 / 1.074 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.2563, allocations: 19.44 kB / 1.074 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of SimCode: time 3.9e-07/0.2563, allocations: 0 / 1.074 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.2744, allocations: 3.27 MB / 1.077 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.392, allocations: 5.969 kB / 1.077 GB, free: 15.93 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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