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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.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.008873/0.008873, allocations: 101.5 kB / 15.73 MB, free: 6.445 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.00166/0.00166, allocations: 193.9 kB / 16.67 MB, free: 6.355 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.678/1.678, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.782/2.782, allocations: 469.4 MB / 0.7421 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 79.88 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2985, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002177/0.3007, allocations: 0.6381 MB / 1.22 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005166/0.3013, allocations: 195.2 kB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/0.3014, allocations: 0 / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.3014, allocations: 3.938 kB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.3016, allocations: 15.92 kB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.3019, allocations: 75.75 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.694e-05/0.302, allocations: 27.91 kB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.45e-05/0.302, allocations: 0 / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.3021, allocations: 19.88 kB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.963e-05/0.3022, allocations: 23.89 kB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.3022, allocations: 8 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.3024, allocations: 107.7 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.3024, allocations: 7.938 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.3025, allocations: 15.92 kB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.3027, allocations: 103.7 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3027, allocations: 0 / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3027, allocations: 0 / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3027, allocations: 4 kB / 1.221 GB, free: 13.41 MB / 0.9825 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.000571/0.3033, allocations: 371.1 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3033, allocations: 12.03 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.3034, allocations: 34.75 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.3034, allocations: 8.891 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.3036, allocations: 168.4 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3036, allocations: 4.312 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.3036, allocations: 4.375 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.3038, allocations: 58.17 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3038, allocations: 7.891 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3038, allocations: 4 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3039, allocations: 0 / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.304, allocations: 35.97 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.3043, allocations: 245 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.3045, allocations: 76.3 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.381e-05/0.3046, allocations: 28.88 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.3046, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3046, allocations: 30.56 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3046, allocations: 0 / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.02865/0.3333, allocations: 1.616 MB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.3334, allocations: 55.41 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3335, allocations: 109.8 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.85e-05/0.3336, allocations: 33.7 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.3337, allocations: 84.52 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/0.3338, allocations: 31.72 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.334, allocations: 29.7 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3341, allocations: 318.8 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.3346, allocations: 147.9 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.3351, allocations: 143.9 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.3361, allocations: 292.8 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3362, allocations: 0 / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001251/0.3374, allocations: 337.5 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3374, allocations: 4 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3375, allocations: 4 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3375, allocations: 4 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.3391, allocations: 59.92 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.3391, allocations: 4 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.3406, allocations: 47.94 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.3406, allocations: 8 kB / 1.225 GB, free: 8.809 MB / 0.9825 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.0002154/0.3409, allocations: 118.3 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.341, allocations: 3.953 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.3411, allocations: 28.31 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3411, allocations: 0 / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3412, allocations: 3.938 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3412, allocations: 3.984 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005884/0.3471, allocations: 0.8299 MB / 1.226 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3471, allocations: 0 / 1.226 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.3483, allocations: 55.94 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.3483, allocations: 288 / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/0.3483, allocations: 3.938 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.3484, allocations: 4 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.3484, allocations: 3.938 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.3494, allocations: 333.2 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.3494, allocations: 85.05 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.923e-05/0.3495, allocations: 11.94 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.3506, allocations: 39.95 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.3506, allocations: 4 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.3507, allocations: 7.984 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.217e-05/0.3508, allocations: 87.28 kB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3e-07/0.3508, allocations: 0 / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004339/0.3512, allocations: 99.92 kB / 1.227 GB, free: 6.984 MB / 0.9825 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.001412/0.3526, allocations: 0.8779 MB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.3537, allocations: 247.8 kB / 1.228 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.3537, allocations: 4 kB / 1.228 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.3541, allocations: 91.89 kB / 1.228 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.3544, allocations: 13.83 kB / 1.228 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006809/0.3613, allocations: 2.678 MB / 1.231 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3616, allocations: 0.6846 MB / 1.231 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004537/0.362, allocations: 55.98 kB / 1.231 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.3625, allocations: 19.42 kB / 1.231 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of SimCode: time 9.32e-07/0.3625, allocations: 0 / 1.231 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.3882, allocations: 9.812 MB / 1.241 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.532, allocations: 5.828 kB / 1.241 GB, free: 8.414 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 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.csv","/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