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.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.002436/0.002436, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002907/0.002907, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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.616/1.616, allocations: 177.2 MB / 203.1 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.386/3.386, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.192e-06/6.192e-06, allocations: 4 kB / 0.8775 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/3.019e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001681/0.001711, allocations: 0.6478 MB / 0.8781 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004296/0.00214, allocations: 181 kB / 0.8783 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.002171, allocations: 4 kB / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.13e-05/0.002182, allocations: 0 / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.002323, allocations: 13.45 kB / 0.8783 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.002514, allocations: 81.77 kB / 0.8784 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.748e-05/0.002572, allocations: 23.92 kB / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.002609, allocations: 8 kB / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.118e-05/0.002661, allocations: 15.92 kB / 0.8785 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.002721, allocations: 26.42 kB / 0.8785 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.002736, allocations: 0 / 0.8785 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.002857, allocations: 47.89 kB / 0.8785 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.002873, allocations: 3.984 kB / 0.8785 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.002897, allocations: 11.94 kB / 0.8785 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.00309, allocations: 99.69 kB / 0.8786 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003093, allocations: 0 / 0.8786 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003093, allocations: 2.062 kB / 0.8786 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.003096, allocations: 0 / 0.8786 GB, free: 5.48 MB / 0.8386 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.0005746/0.003671, allocations: 392 kB / 0.879 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.003707, allocations: 12.03 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006658/0.004372, allocations: 53.56 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.004513, allocations: 122.2 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.004524, allocations: 384 / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.004552, allocations: 8.312 kB / 0.8792 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.004756, allocations: 78.19 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.004767, allocations: 192 / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.00478, allocations: 1.562 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.004784, allocations: 384 / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.005011, allocations: 67.91 kB / 0.8793 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.005328, allocations: 255.8 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.005669, allocations: 107 kB / 0.8797 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.005787, allocations: 39.77 kB / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.005804, allocations: 0 / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.005841, allocations: 41.39 kB / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.005841, allocations: 0 / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.03029/0.03613, allocations: 1.605 MB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.03618, allocations: 55.41 kB / 0.8814 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.03636, allocations: 174.2 kB / 0.8815 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-05/0.03643, allocations: 25.7 kB / 0.8816 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.03653, allocations: 138.9 kB / 0.8817 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.56e-05/0.03661, allocations: 31.69 kB / 0.8817 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.03686, allocations: 31.36 kB / 0.8818 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002683/0.03713, allocations: 0.4884 MB / 0.8822 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/0.03772, allocations: 195.9 kB / 0.8824 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.03831, allocations: 204 kB / 0.8826 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.03953, allocations: 411.6 kB / 0.883 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.03953, allocations: 0 / 0.883 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0015/0.04103, allocations: 453.6 kB / 0.8834 GB, free: 352 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.04105, allocations: 4 kB / 0.8835 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.04106, allocations: 0 / 0.8835 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.04108, allocations: 7.969 kB / 0.8835 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.04297, allocations: 59.94 kB / 0.8835 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.04298, allocations: 0 / 0.8835 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.04461, allocations: 47.89 kB / 0.8836 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/0.04468, allocations: 0 / 0.8836 GB, free: 232 kB / 0.8386 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.0002423/0.04492, allocations: 160.6 kB / 0.8837 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.04506, allocations: 11.94 kB / 0.8837 GB, free: 48 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.0452, allocations: 20.42 kB / 0.8837 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.04521, allocations: 4 kB / 0.8837 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.04522, allocations: 4 kB / 0.8838 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.04522, allocations: 0 / 0.8838 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00682/0.05204, allocations: 0.7956 MB / 0.8845 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.05204, allocations: 0 / 0.8845 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.05347, allocations: 51.89 kB / 0.8846 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.05347, allocations: 0 / 0.8846 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/0.05354, allocations: 11.98 kB / 0.8846 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.05354, allocations: 0 / 0.8846 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.05354, allocations: 0 / 0.8846 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.05477, allocations: 419.2 kB / 0.885 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.05479, allocations: 7.953 kB / 0.885 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/0.05487, allocations: 4 kB / 0.885 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.05613, allocations: 43.89 kB / 0.885 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.05616, allocations: 7.984 kB / 0.8851 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.05621, allocations: 0 / 0.8851 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001042/0.05631, allocations: 139.2 kB / 0.8852 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.05631, allocations: 0 / 0.8852 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004269/0.05674, allocations: 95.94 kB / 0.8853 GB, free: 14.38 MB / 0.8542 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.0001879/0.05693, allocations: 99.25 kB / 0.8854 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.05813, allocations: 331.5 kB / 0.8857 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.05813, allocations: 3.938 kB / 0.8857 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005117/0.05864, allocations: 123.6 kB / 0.8858 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.05895, allocations: 7.172 kB / 0.8858 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.06237, allocations: 341.4 kB / 0.8861 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.736e-05/0.06246, allocations: 67.34 kB / 0.8862 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005418/0.063, allocations: 56 kB / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005161/0.06352, allocations: 20.48 kB / 0.8863 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/0.06352, allocations: 0 / 0.8863 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of Templates: time 0.0178/0.08132, allocations: 10.39 MB / 0.8964 GB, free: 2.824 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.928903871099465]