Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002045/0.002045, allocations: 211.4 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.768/2.768, allocations: 476 MB / 0.7699 GB, free: 4.695 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 69.16 kB / 1.117 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3322, allocations: 170 MB / 1.283 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001893/0.334, allocations: 0.6277 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004802/0.3345, allocations: 179.2 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.3346, allocations: 0 / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.3346, allocations: 3.938 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.3347, allocations: 15.94 kB / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.3349, allocations: 71.75 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.238e-05/0.335, allocations: 27.97 kB / 1.284 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.3351, allocations: 1.688 kB / 1.284 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.649e-05/0.3351, allocations: 19.92 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.129e-05/0.3352, allocations: 23.84 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.3352, allocations: 4 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.3353, allocations: 47.88 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.3353, allocations: 0 / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.3354, allocations: 19.86 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.3355, allocations: 91.25 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3355, allocations: 4 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3355, allocations: 0 / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.3356, allocations: 0 / 1.284 GB, free: 11.23 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.0005173/0.3361, allocations: 286.1 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3361, allocations: 12.03 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.3361, allocations: 38.73 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.3362, allocations: 4.891 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3363, allocations: 122.4 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.3363, allocations: 384 / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.3363, allocations: 4.375 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.3365, allocations: 66.22 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3365, allocations: 7.875 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3365, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3365, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.3367, allocations: 31.97 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.3369, allocations: 216.1 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.3372, allocations: 74.45 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.238e-05/0.3372, allocations: 24.94 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3373, allocations: 3.938 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3373, allocations: 30.56 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.3373, allocations: 0 / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.02776/0.3651, allocations: 1.609 MB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.3651, allocations: 55.39 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3652, allocations: 121.8 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.553e-05/0.3653, allocations: 29.7 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.3654, allocations: 91.97 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.678e-05/0.3654, allocations: 27.8 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.3656, allocations: 25.7 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3658, allocations: 318.8 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000515/0.3663, allocations: 147.9 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.3668, allocations: 139.9 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.3678, allocations: 296.7 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3678, allocations: 0 / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001225/0.369, allocations: 333.5 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3691, allocations: 8 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.3691, allocations: 0 / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3691, allocations: 0 / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.3707, allocations: 63.92 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3707, allocations: 80 / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.3721, allocations: 48.61 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.3722, allocations: 11.97 kB / 1.288 GB, free: 6.832 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.0001985/0.3724, allocations: 113.8 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.458e-05/0.3724, allocations: 7.953 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.3726, allocations: 16.38 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3726, allocations: 4 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3726, allocations: 0 / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3726, allocations: 3.938 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005801/0.3784, allocations: 0.7429 MB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3784, allocations: 0 / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.3795, allocations: 51.94 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3795, allocations: 0 / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.3796, allocations: 16 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.3796, allocations: 4.062 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3796, allocations: 0 / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009525/0.3805, allocations: 321.1 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.3806, allocations: 4 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.587e-05/0.3806, allocations: 11.92 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.3817, allocations: 43.95 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.3817, allocations: 0 / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.082e-05/0.3817, allocations: 11.92 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.747e-05/0.3818, allocations: 99.27 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3818, allocations: 0 / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004157/0.3822, allocations: 87.94 kB / 1.289 GB, free: 5.219 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.001404/0.3836, allocations: 0.8701 MB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.3846, allocations: 243.8 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3846, allocations: 0 / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004248/0.3851, allocations: 100 kB / 1.29 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.3854, allocations: 11.94 kB / 1.29 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006929/0.3923, allocations: 2.675 MB / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.301e-05/0.3924, allocations: 71.7 kB / 1.293 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004632/0.3928, allocations: 55.98 kB / 1.293 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/0.3933, allocations: 23.42 kB / 1.293 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of SimCode: time 7.32e-07/0.3933, allocations: 3.938 kB / 1.293 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/0.4325, allocations: 11.3 MB / 1.304 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.26, allocations: 2.297 kB / 1.304 GB, free: 5.816 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.982873097993433]