Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.0008289/0.0008289, 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.0008365/0.0008365, 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.8917/0.8917, 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.76/1.76, allocations: 377.9 MB / 0.6228 GB, free: 8.68 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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.687e-05, allocations: 5.094 kB / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001147/0.001174, allocations: 0.6267 MB / 0.9829 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.002544, allocations: 1.381 MB / 0.9842 GB, free: 20 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.00257, allocations: 4 kB / 0.9842 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 5.707e-05/0.002627, allocations: 3.938 kB / 0.9842 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.002665, allocations: 0 / 0.9842 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.003226, allocations: 183.6 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 9.667e-05/0.003323, allocations: 43.8 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.003358, allocations: 3.984 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.003407, allocations: 27.98 kB / 0.9845 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.003461, allocations: 27.89 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.003474, allocations: 4 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.003724, allocations: 211.6 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.003768, allocations: 15.92 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.0038, allocations: 15.98 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.004038, allocations: 231.4 kB / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.004041, allocations: 0 / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.004042, allocations: 0 / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.004047, allocations: 0 / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003477/0.004394, allocations: 369.2 kB / 0.9853 GB, free: 14.86 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.004433, allocations: 12.03 kB / 0.9853 GB, free: 14.85 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.004471, allocations: 16.83 kB / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.367e-05/0.004554, allocations: 125.6 kB / 0.9854 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.004566, allocations: 4.375 kB / 0.9855 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.004577, allocations: 384 / 0.9855 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.004732, allocations: 123.9 kB / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004739, allocations: 192 / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.004749, allocations: 384 / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.004755, allocations: 3.938 kB / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.393e-05/0.004829, allocations: 93.66 kB / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.004932, allocations: 117.3 kB / 0.9858 GB, free: 14.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.162e-05/0.005023, allocations: 112.2 kB / 0.9859 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.041e-05/0.005094, allocations: 98.58 kB / 0.986 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.0051, allocations: 0 / 0.986 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.005121, allocations: 30.56 kB / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005122, allocations: 0 / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0003172/0.00544, allocations: 318.6 kB / 0.9863 GB, free: 13.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.005477, allocations: 85.05 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.659e-05/0.005574, allocations: 148.7 kB / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.005584, allocations: 29.7 kB / 0.9866 GB, free: 13.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.005625, allocations: 96.12 kB / 0.9867 GB, free: 13.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.005642, allocations: 7.953 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.00568, allocations: 29.7 kB / 0.9867 GB, free: 13.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.005756, allocations: 322.8 kB / 0.987 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.005873, allocations: 163.3 kB / 0.9872 GB, free: 12.77 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.005977, allocations: 167.3 kB / 0.9873 GB, free: 12.59 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.00617, allocations: 285.9 kB / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006172, allocations: 4 kB / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002633/0.006435, allocations: 392.2 kB / 0.988 GB, free: 11.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.006481, allocations: 71.38 kB / 0.988 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.006487, allocations: 0 / 0.988 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.0065, allocations: 8 kB / 0.988 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.582e-06/0.006502, allocations: 3.938 kB / 0.988 GB, free: 11.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.006506, allocations: 0 / 0.988 GB, free: 11.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.006637, allocations: 11.89 kB / 0.9881 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.006651, allocations: 4 kB / 0.9881 GB, free: 11.77 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 7.749e-05/0.006729, allocations: 155.5 kB / 0.9882 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.006739, allocations: 15.83 kB / 0.9882 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.221e-05/0.006751, allocations: 8.344 kB / 0.9882 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006753, allocations: 0 / 0.9882 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.006758, allocations: 3.938 kB / 0.9882 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.00676, allocations: 4 kB / 0.9882 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.683e-05/0.006827, allocations: 121.3 kB / 0.9883 GB, free: 11.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.006828, allocations: 0 / 0.9883 GB, free: 11.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.006828, allocations: 0 / 0.9883 GB, free: 11.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-06/0.006829, allocations: 0 / 0.9883 GB, free: 11.42 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.006839, allocations: 8 kB / 0.9884 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.00684, allocations: 0 / 0.9884 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006841, allocations: 0 / 0.9884 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.007046, allocations: 260.3 kB / 0.9886 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-06/0.007055, allocations: 7.953 kB / 0.9886 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.007067, allocations: 0 / 0.9886 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/0.007104, allocations: 16.02 kB / 0.9886 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.007162, allocations: 7.938 kB / 0.9886 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.007167, allocations: 4 kB / 0.9886 GB, free: 11.09 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.007216, allocations: 113.5 kB / 0.9887 GB, free: 10.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007216, allocations: 0 / 0.9887 GB, free: 10.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002254/0.007441, allocations: 63.92 kB / 0.9888 GB, free: 10.92 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002176/0.007659, allocations: 159.6 kB / 0.989 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004334/0.008092, allocations: 419.7 kB / 0.9894 GB, free: 10.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008094, allocations: 64 / 0.9894 GB, free: 10.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.008185, allocations: 157 kB / 0.9895 GB, free: 10.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.008307, allocations: 4 kB / 0.9895 GB, free: 10.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.008618, allocations: 282.6 kB / 0.9898 GB, free: 9.809 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.025e-05/0.008668, allocations: 75.58 kB / 0.9899 GB, free: 9.715 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.008681, allocations: 8.5 kB / 0.9899 GB, free: 9.707 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/0.008682, allocations: 0 / 0.9899 GB, free: 9.707 MB / 0.948 GB Notification: Performance of Templates: time 0.002408/0.01109, allocations: 1.698 MB / 0.9915 GB, free: 8.012 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.644955060444772]