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.0009567/0.0009567, allocations: 78.66 kB / 20.68 MB, free: 3.824 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.0009659/0.0009659, allocations: 180.9 kB / 24.09 MB, free: 424 kB / 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.9874/0.9874, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.785/1.785, allocations: 359 MB / 0.6055 GB, free: 10.89 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.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.363e-06/1.363e-06, allocations: 0 / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.676e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001168/0.001185, allocations: 0.6396 MB / 0.7882 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003645/0.001549, allocations: 175.9 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.001586, allocations: 0.5625 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.001606, allocations: 7.875 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.001778, allocations: 8.562 kB / 0.7884 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.001957, allocations: 72.7 kB / 0.7885 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.854e-05/0.002016, allocations: 28.52 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.002061, allocations: 4 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.002122, allocations: 17.64 kB / 0.7885 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.002197, allocations: 19.91 kB / 0.7886 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.002215, allocations: 4 kB / 0.7886 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.002315, allocations: 47.88 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.002334, allocations: 9.531 kB / 0.7886 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.002352, allocations: 11.97 kB / 0.7886 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.002494, allocations: 95.72 kB / 0.7887 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002496, allocations: 3.938 kB / 0.7887 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002497, allocations: 0 / 0.7887 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.002501, allocations: 0.5312 kB / 0.7887 GB, free: 11.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004596/0.00296, allocations: 383.9 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.003006, allocations: 12.03 kB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.003043, allocations: 12.89 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.003147, allocations: 120.5 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.003161, allocations: 4.359 kB / 0.7892 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.003181, allocations: 12.3 kB / 0.7892 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.003297, allocations: 54.95 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.003314, allocations: 8.172 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.003322, allocations: 1.094 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.003329, allocations: 384 / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.203e-05/0.003361, allocations: 16.41 kB / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.003588, allocations: 229.8 kB / 0.7895 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.677e-05/0.003655, allocations: 39.05 kB / 0.7896 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/0.003676, allocations: 19.77 kB / 0.7896 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.003689, allocations: 1.25 kB / 0.7896 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.003708, allocations: 37.45 kB / 0.7896 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.003709, allocations: 0 / 0.7896 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.01096/0.01467, allocations: 1.435 MB / 0.791 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.0147, allocations: 51.41 kB / 0.7911 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.0148, allocations: 179 kB / 0.7913 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.01484, allocations: 25.7 kB / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.01489, allocations: 138.8 kB / 0.7914 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.01493, allocations: 24.33 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.01505, allocations: 31.36 kB / 0.7915 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.01518, allocations: 0.4895 MB / 0.7919 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.01534, allocations: 87.97 kB / 0.792 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.0155, allocations: 79.97 kB / 0.7921 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.01585, allocations: 193 kB / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01585, allocations: 0 / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004677/0.01632, allocations: 214.1 kB / 0.7925 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.01633, allocations: 8.688 kB / 0.7925 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01634, allocations: 3.984 kB / 0.7925 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.01635, allocations: 5.219 kB / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/0.01702, allocations: 55.94 kB / 0.7926 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.01702, allocations: 0 / 0.7926 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.01751, allocations: 45.3 kB / 0.7926 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.01764, allocations: 80 / 0.7926 GB, free: 6.879 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: 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.0001174/0.01775, allocations: 160.6 kB / 0.7928 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.01783, allocations: 16.98 kB / 0.7928 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.903e-05/0.01791, allocations: 20.2 kB / 0.7928 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01791, allocations: 4 kB / 0.7928 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01792, allocations: 5.062 kB / 0.7928 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01792, allocations: 4.406 kB / 0.7928 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.02011, allocations: 0.6243 MB / 0.7934 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.02011, allocations: 0 / 0.7934 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.02052, allocations: 47.94 kB / 0.7935 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.02052, allocations: 4 kB / 0.7935 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.02054, allocations: 0 / 0.7935 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.02054, allocations: 4 kB / 0.7935 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.02055, allocations: 0 / 0.7935 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.02091, allocations: 283.1 kB / 0.7937 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.02092, allocations: 64 / 0.7937 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.02096, allocations: 12 kB / 0.7938 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.02132, allocations: 35.95 kB / 0.7938 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.02133, allocations: 0 / 0.7938 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.02135, allocations: 12.05 kB / 0.7938 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.433e-05/0.0214, allocations: 135.2 kB / 0.7939 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0214, allocations: 0 / 0.7939 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002493/0.02165, allocations: 95.92 kB / 0.794 GB, free: 5.367 MB / 0.7448 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.0001566/0.0218, allocations: 111.1 kB / 0.7941 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.02215, allocations: 147.6 kB / 0.7943 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02215, allocations: 0 / 0.7943 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.02227, allocations: 55.58 kB / 0.7943 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.02246, allocations: 17.97 kB / 0.7943 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.02348, allocations: 253.3 kB / 0.7946 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.302e-05/0.02352, allocations: 63.34 kB / 0.7946 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.02374, allocations: 52.12 kB / 0.7947 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.02416, allocations: 82.19 kB / 0.7948 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.02416, allocations: 0 / 0.7948 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of Templates: time 0.00926/0.03342, allocations: 9.894 MB / 0.8044 GB, free: 10.61 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 240] 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","",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.11730020865798]