Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000927/0.000927, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009282/0.0009282, allocations: 165 kB / 23.82 MB, free: 0.7422 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.962/0.962, allocations: 177.1 MB / 204.2 MB, free: 5.242 MB / 186.7 MB " [Timeout remaining time 179] 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 1.826/1.826, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.618e-05, allocations: 6.234 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001844/0.00187, allocations: 0.6209 MB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002136/0.004005, allocations: 1.422 MB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.004039, allocations: 4.5 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.051e-05/0.004109, allocations: 3.984 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.004159, allocations: 4.969 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008364/0.004996, allocations: 182.2 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.005115, allocations: 47.88 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.005153, allocations: 4 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.117e-05/0.005214, allocations: 19.98 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.005278, allocations: 33.06 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.005296, allocations: 4 kB / 0.7894 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.005707, allocations: 211.6 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.005756, allocations: 12.56 kB / 0.7897 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.005802, allocations: 11.98 kB / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.006178, allocations: 232.8 kB / 0.7899 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.006181, allocations: 0 / 0.7899 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006182, allocations: 0 / 0.7899 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.006188, allocations: 4 kB / 0.7899 GB, free: 9.594 MB / 0.7448 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.0004636/0.006651, allocations: 468.4 kB / 0.7903 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.006694, allocations: 12.03 kB / 0.7904 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.006754, allocations: 17.92 kB / 0.7904 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.006865, allocations: 116.5 kB / 0.7905 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.006881, allocations: 4.375 kB / 0.7905 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.006899, allocations: 0.9062 kB / 0.7905 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.007108, allocations: 125.1 kB / 0.7906 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.007119, allocations: 4.125 kB / 0.7906 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.007132, allocations: 384 / 0.7906 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.007142, allocations: 6.969 kB / 0.7906 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.007246, allocations: 81.66 kB / 0.7907 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.007389, allocations: 132.7 kB / 0.7908 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.007521, allocations: 112.7 kB / 0.7909 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.007623, allocations: 93.42 kB / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-06/0.007628, allocations: 0 / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.007656, allocations: 37.33 kB / 0.7911 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.007657, allocations: 0 / 0.7911 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0004269/0.008084, allocations: 295.3 kB / 0.7913 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.008132, allocations: 89.03 kB / 0.7914 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.00828, allocations: 201.4 kB / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.008296, allocations: 25.7 kB / 0.7916 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.008359, allocations: 142.9 kB / 0.7918 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.008389, allocations: 19.83 kB / 0.7918 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.008447, allocations: 32.56 kB / 0.7918 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.008591, allocations: 0.4923 MB / 0.7923 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.008745, allocations: 139.3 kB / 0.7924 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.008878, allocations: 140.9 kB / 0.7926 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.009228, allocations: 252.6 kB / 0.7928 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.00923, allocations: 0 / 0.7928 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003606/0.009591, allocations: 336.3 kB / 0.7931 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/0.009659, allocations: 73.08 kB / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.009664, allocations: 0 / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.009683, allocations: 0 / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-06/0.009689, allocations: 3.984 kB / 0.7932 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.009696, allocations: 3.938 kB / 0.7932 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.009806, allocations: 8.844 kB / 0.7932 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.009822, allocations: 4 kB / 0.7932 GB, free: 5.855 MB / 0.7448 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 0.0001086/0.009931, allocations: 194.8 kB / 0.7934 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.009955, allocations: 16.52 kB / 0.7934 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.009977, allocations: 4.344 kB / 0.7934 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.009979, allocations: 0.5312 kB / 0.7934 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.009983, allocations: 5.219 kB / 0.7934 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.009986, allocations: 0 / 0.7934 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.01009, allocations: 136.5 kB / 0.7936 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01009, allocations: 0.5312 kB / 0.7936 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.61e-07/0.01009, allocations: 144 / 0.7936 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.01009, allocations: 5.375 kB / 0.7936 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01011, allocations: 3.984 kB / 0.7936 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01011, allocations: 0 / 0.7936 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01011, allocations: 0 / 0.7936 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.01041, allocations: 268.8 kB / 0.7938 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.01043, allocations: 11.95 kB / 0.7938 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.01045, allocations: 4 kB / 0.7938 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.217e-05/0.0105, allocations: 1.062 kB / 0.7938 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.01057, allocations: 7.984 kB / 0.7939 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.01058, allocations: 13.69 kB / 0.7939 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.151e-05/0.01065, allocations: 145 kB / 0.794 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01065, allocations: 0 / 0.794 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003522/0.011, allocations: 63.92 kB / 0.7941 GB, free: 4.91 MB / 0.7448 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.0002804/0.01129, allocations: 159.9 kB / 0.7942 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.01173, allocations: 384.4 kB / 0.7946 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.01174, allocations: 0 / 0.7946 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.01184, allocations: 158.1 kB / 0.7947 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.01197, allocations: 11.95 kB / 0.7947 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.01229, allocations: 240.4 kB / 0.795 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.283e-05/0.01232, allocations: 64.16 kB / 0.795 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.27e-06/0.01233, allocations: 0 / 0.795 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.01234, allocations: 12.5 kB / 0.795 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of SimCode: time 1.613e-06/0.01234, allocations: 6.062 kB / 0.7951 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.003685/0.01603, allocations: 2.21 MB / 0.7972 GB, free: 1.598 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.042640806175768]