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.00138/0.00138, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.001465/0.001465, allocations: 208.1 kB / 23.04 MB, free: 5.074 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.855/2.855, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="cs",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.002035/0.002035, allocations: 64.66 kB / 1.118 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3886, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002135/0.3907, allocations: 0.6537 MB / 1.285 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000511/0.3912, allocations: 203.2 kB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.3913, allocations: 0 / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.3913, allocations: 3.938 kB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.3915, allocations: 7.938 kB / 1.285 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.3917, allocations: 79.75 kB / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.127e-05/0.3918, allocations: 27.97 kB / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.3918, allocations: 4 kB / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.182e-05/0.3919, allocations: 15.91 kB / 1.285 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.118e-05/0.392, allocations: 27.86 kB / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.392, allocations: 0 / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.3922, allocations: 103.8 kB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.3922, allocations: 11.88 kB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.3922, allocations: 19.91 kB / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.3924, allocations: 103.3 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3924, allocations: 0 / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3924, allocations: 7.938 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.3924, allocations: 0 / 1.285 GB, free: 10.48 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.0006063/0.3931, allocations: 295.6 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.3931, allocations: 11.97 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.897e-05/0.3931, allocations: 8.188 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.3932, allocations: 30.75 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.3932, allocations: 0.9375 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.3934, allocations: 126.4 kB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3934, allocations: 4.375 kB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.3934, allocations: 384 / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.3936, allocations: 57.98 kB / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3936, allocations: 0 / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3936, allocations: 0 / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3936, allocations: 0 / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.3938, allocations: 35.91 kB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.3941, allocations: 228 kB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.3944, allocations: 62.53 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/0.3944, allocations: 24.94 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.3945, allocations: 0 / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.3945, allocations: 34.56 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3945, allocations: 0 / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.02686/0.4213, allocations: 1.625 MB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.4214, allocations: 55.41 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.4215, allocations: 117.8 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.245e-05/0.4216, allocations: 25.7 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.4217, allocations: 92.09 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.515e-05/0.4217, allocations: 27.73 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.422, allocations: 25.7 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4221, allocations: 322.8 kB / 1.289 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/0.4226, allocations: 139.9 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.4231, allocations: 140.3 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.4241, allocations: 300.8 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4241, allocations: 0 / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00124/0.4254, allocations: 337.5 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.4254, allocations: 4 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4254, allocations: 0 / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.4254, allocations: 3.938 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.427, allocations: 75.86 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.427, allocations: 0 / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.4284, allocations: 47.95 kB / 1.29 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.545e-05/0.4285, allocations: 7.984 kB / 1.29 GB, free: 6.066 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.0002119/0.4287, allocations: 113.8 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.27e-05/0.4288, allocations: 4 kB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.4289, allocations: 16.38 kB / 1.29 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.4289, allocations: 4 kB / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.4289, allocations: 0 / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4289, allocations: 0 / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005875/0.4348, allocations: 0.813 MB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4348, allocations: 0 / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.436, allocations: 56 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.436, allocations: 7.984 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.436, allocations: 7.938 kB / 1.291 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.436, allocations: 0 / 1.291 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4361, allocations: 4 kB / 1.291 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009719/0.437, allocations: 321.1 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.437, allocations: 0 / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.11e-05/0.4371, allocations: 11.94 kB / 1.291 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.4382, allocations: 39.94 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.4382, allocations: 4 kB / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.4382, allocations: 8.094 kB / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.17e-05/0.4383, allocations: 99.2 kB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4383, allocations: 0 / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004312/0.4387, allocations: 95.92 kB / 1.291 GB, free: 4.387 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.001467/0.4402, allocations: 0.8662 MB / 1.292 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.4412, allocations: 244 kB / 1.292 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.4412, allocations: 0 / 1.292 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.4416, allocations: 91.89 kB / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.4419, allocations: 8 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006901/0.4489, allocations: 2.684 MB / 1.295 GB, free: 384 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.4492, allocations: 0.6884 MB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004137/0.4496, allocations: 55.97 kB / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000474/0.4501, allocations: 23.42 kB / 1.296 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of SimCode: time 1.743e-06/0.4501, allocations: 0 / 1.296 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03614/0.4862, allocations: 10.05 MB / 1.305 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.01, allocations: 3.938 kB / 1.305 GB, free: 5.633 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: 19.15369785297662]