Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007979/0.0007979, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007804/0.0007804, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8936/0.8936, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.751/1.751, allocations: 377.8 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.9823 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.263e-05, allocations: 2.281 kB / 0.9823 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002366/0.002398, allocations: 0.6364 MB / 0.9829 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005136/0.002912, allocations: 179.2 kB / 0.983 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.002958, allocations: 0 / 0.983 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.002978, allocations: 3.938 kB / 0.9831 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.003173, allocations: 7.938 kB / 0.9831 GB, free: 1.176 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.003449, allocations: 79.67 kB / 0.9831 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.069e-05/0.00353, allocations: 27.92 kB / 0.9832 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/0.003585, allocations: 4 kB / 0.9832 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.003639, allocations: 15.98 kB / 0.9832 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.003711, allocations: 19.89 kB / 0.9832 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.003731, allocations: 4 kB / 0.9832 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.00387, allocations: 51.83 kB / 0.9833 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.00389, allocations: 3.984 kB / 0.9833 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.003918, allocations: 11.94 kB / 0.9833 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.004115, allocations: 95.77 kB / 0.9834 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.00412, allocations: 7.922 kB / 0.9834 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.353e-06/0.004121, allocations: 0 / 0.9834 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.004126, allocations: 0 / 0.9834 GB, free: 0.8594 MB / 0.9323 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.0005668/0.004693, allocations: 294 kB / 0.9836 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.00474, allocations: 12.03 kB / 0.9837 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.004788, allocations: 12.83 kB / 0.9837 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.004929, allocations: 109.8 kB / 0.9838 GB, free: 392 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.004945, allocations: 384 / 0.9838 GB, free: 392 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.004971, allocations: 4.375 kB / 0.9838 GB, free: 388 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.005135, allocations: 58.22 kB / 0.9838 GB, free: 324 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.005151, allocations: 4.188 kB / 0.9838 GB, free: 320 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.005162, allocations: 384 / 0.9838 GB, free: 320 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.005168, allocations: 384 / 0.9838 GB, free: 320 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.005294, allocations: 31.91 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.005596, allocations: 204.5 kB / 0.9841 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.005799, allocations: 74.53 kB / 0.9841 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.165e-05/0.00586, allocations: 24.92 kB / 0.9842 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.005878, allocations: 0 / 0.9842 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.005902, allocations: 30.56 kB / 0.9842 GB, free: 15.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.005903, allocations: 0 / 0.9842 GB, free: 15.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.01677/0.02267, allocations: 1.613 MB / 0.9858 GB, free: 14.28 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.02271, allocations: 59.39 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.0228, allocations: 121.8 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/0.02286, allocations: 29.7 kB / 0.986 GB, free: 14.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.0229, allocations: 84.14 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.02295, allocations: 27.75 kB / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.02308, allocations: 25.7 kB / 0.9861 GB, free: 13.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.02315, allocations: 318.8 kB / 0.9864 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.0235, allocations: 143.9 kB / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.02384, allocations: 144.3 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006843/0.02452, allocations: 296.9 kB / 0.987 GB, free: 13.01 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.02452, allocations: 0 / 0.987 GB, free: 13.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007958/0.02532, allocations: 345.3 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.02533, allocations: 8 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.02534, allocations: 0 / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.02535, allocations: 0 / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/0.02603, allocations: 59.94 kB / 0.9874 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.02604, allocations: 7.922 kB / 0.9874 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005651/0.02661, allocations: 47.95 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.02664, allocations: 0 / 0.9874 GB, free: 12.54 MB / 0.948 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.0001217/0.02676, allocations: 117.8 kB / 0.9875 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.02681, allocations: 11.89 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.634e-05/0.02689, allocations: 16.44 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.0269, allocations: 432 / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.0269, allocations: 4 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.02691, allocations: 0 / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.02968, allocations: 0.705 MB / 0.9882 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02968, allocations: 0 / 0.9882 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.03016, allocations: 63.88 kB / 0.9883 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.03016, allocations: 3.984 kB / 0.9883 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.03019, allocations: 4.062 kB / 0.9883 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.0302, allocations: 7.984 kB / 0.9883 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.0302, allocations: 0 / 0.9883 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/0.03083, allocations: 325.1 kB / 0.9886 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.03085, allocations: 7.953 kB / 0.9886 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.03089, allocations: 0 / 0.9886 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.03132, allocations: 51.89 kB / 0.9887 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.03134, allocations: 7.984 kB / 0.9887 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.03137, allocations: 4 kB / 0.9887 GB, free: 11.15 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.088e-05/0.03142, allocations: 95.3 kB / 0.9888 GB, free: 11.06 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.03142, allocations: 0 / 0.9888 GB, free: 11.06 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003052/0.03172, allocations: 103.8 kB / 0.9889 GB, free: 10.96 MB / 0.948 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.0002439/0.03197, allocations: 111.7 kB / 0.989 GB, free: 10.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006869/0.03265, allocations: 243.8 kB / 0.9892 GB, free: 10.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.03266, allocations: 0 / 0.9892 GB, free: 10.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.03292, allocations: 99.81 kB / 0.9893 GB, free: 10.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.03317, allocations: 4 kB / 0.9893 GB, free: 10.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.03451, allocations: 335.9 kB / 0.9896 GB, free: 10.13 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.995e-05/0.03456, allocations: 71.33 kB / 0.9897 GB, free: 10.04 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.03489, allocations: 12.5 kB / 0.9897 GB, free: 10.03 MB / 0.948 GB Notification: Performance of SimCode: time 9.72e-07/0.03489, allocations: 0 / 0.9897 GB, free: 10.03 MB / 0.948 GB Notification: Performance of Templates: time 0.005328/0.04022, allocations: 5.081 MB / 0.9947 GB, free: 4.91 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.588601786643267]