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.001804/0.001804, allocations: 78.88 kB / 19.18 MB, free: 2.527 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.002135/0.002135, allocations: 168.8 kB / 22.46 MB, free: 5.363 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.445/1.445, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.719/2.719, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.094e-05, allocations: 6.219 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001732/0.001763, allocations: 0.6332 MB / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004585/0.002221, allocations: 179.2 kB / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.002258, allocations: 0 / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.002277, allocations: 3.938 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.00243, allocations: 7.938 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.002662, allocations: 79.67 kB / 0.9519 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.42e-05/0.002736, allocations: 27.92 kB / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.002779, allocations: 0 / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.011e-05/0.002839, allocations: 23.91 kB / 0.952 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.002901, allocations: 15.97 kB / 0.952 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.002919, allocations: 4 kB / 0.952 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.003041, allocations: 47.83 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.00306, allocations: 4 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.003085, allocations: 15.91 kB / 0.952 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.003268, allocations: 91.78 kB / 0.9521 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.003271, allocations: 4 kB / 0.9521 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003272, allocations: 0 / 0.9521 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.003278, allocations: 4 kB / 0.9521 GB, free: 10.36 MB / 0.8575 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.0005427/0.003821, allocations: 294 kB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.003858, allocations: 11.97 kB / 0.9524 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.003893, allocations: 4.922 kB / 0.9524 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.004032, allocations: 117.8 kB / 0.9525 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.004046, allocations: 4.375 kB / 0.9525 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.004074, allocations: 4.375 kB / 0.9526 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.00423, allocations: 54.23 kB / 0.9526 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.004243, allocations: 4.172 kB / 0.9526 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.004253, allocations: 384 / 0.9526 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004259, allocations: 4.375 kB / 0.9526 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.004399, allocations: 39.89 kB / 0.9527 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.004666, allocations: 196.5 kB / 0.9528 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.0049, allocations: 66.53 kB / 0.9529 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.543e-05/0.004975, allocations: 28.88 kB / 0.9529 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.004998, allocations: 3.984 kB / 0.9529 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.005021, allocations: 30.56 kB / 0.953 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.005022, allocations: 0 / 0.953 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.03052/0.03554, allocations: 1.624 MB / 0.9545 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.03559, allocations: 51.41 kB / 0.9546 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.03573, allocations: 117.8 kB / 0.9547 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.13e-05/0.03581, allocations: 29.7 kB / 0.9547 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.03588, allocations: 88.12 kB / 0.9548 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.409e-05/0.03596, allocations: 23.75 kB / 0.9548 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.03618, allocations: 29.7 kB / 0.9549 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.03632, allocations: 314.8 kB / 0.9552 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/0.03685, allocations: 143.9 kB / 0.9553 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.03737, allocations: 143.9 kB / 0.9554 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.03846, allocations: 292.8 kB / 0.9557 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.03847, allocations: 3.938 kB / 0.9557 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001315/0.03978, allocations: 342 kB / 0.9561 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.0398, allocations: 8.094 kB / 0.9561 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.03981, allocations: 3.938 kB / 0.9561 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.03983, allocations: 0 / 0.9561 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.04154, allocations: 63.88 kB / 0.9561 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.04155, allocations: 0 / 0.9561 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.04302, allocations: 55.94 kB / 0.9562 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/0.04308, allocations: 0 / 0.9562 GB, free: 6.039 MB / 0.8575 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.0002082/0.04329, allocations: 113.8 kB / 0.9563 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.632e-05/0.04339, allocations: 15.88 kB / 0.9563 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.04351, allocations: 16.52 kB / 0.9563 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.04352, allocations: 4 kB / 0.9563 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.04352, allocations: 0 / 0.9563 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.04353, allocations: 0 / 0.9563 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006266/0.04979, allocations: 0.7164 MB / 0.957 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.0498, allocations: 4 kB / 0.957 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.05104, allocations: 55.88 kB / 0.9571 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.05105, allocations: 0 / 0.9571 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.304e-05/0.0511, allocations: 4 kB / 0.9571 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.05111, allocations: 8.047 kB / 0.9571 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.05111, allocations: 0 / 0.9571 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.05213, allocations: 325.1 kB / 0.9574 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.05215, allocations: 7.938 kB / 0.9574 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/0.05223, allocations: 8.359 kB / 0.9574 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.0534, allocations: 39.95 kB / 0.9575 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.05343, allocations: 11.98 kB / 0.9575 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.05348, allocations: 4 kB / 0.9575 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.854e-05/0.05355, allocations: 91.27 kB / 0.9576 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.05355, allocations: 0 / 0.9576 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004134/0.05396, allocations: 99.88 kB / 0.9577 GB, free: 4.453 MB / 0.8575 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.0002795/0.05424, allocations: 119.1 kB / 0.9578 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.0553, allocations: 243.8 kB / 0.958 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.0553, allocations: 4.406 kB / 0.958 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.05573, allocations: 95.88 kB / 0.9581 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.05604, allocations: 4 kB / 0.9581 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.05903, allocations: 303 kB / 0.9584 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.45e-05/0.05911, allocations: 75.27 kB / 0.9585 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004124/0.05952, allocations: 48 kB / 0.9585 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005047/0.06002, allocations: 16.48 kB / 0.9585 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of SimCode: time 7.82e-07/0.06002, allocations: 4 kB / 0.9585 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of Templates: time 0.01694/0.07697, allocations: 9.732 MB / 0.968 GB, free: 9.738 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] 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/jenkins/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: 8.132243439555168]