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.00137/0.00137, 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.001198/0.001198, allocations: 165 kB / 23.82 MB, free: 0.7461 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.034/1.034, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.823/1.823, allocations: 359 MB / 0.6052 GB, free: 10.98 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.472e-06/1.472e-06, allocations: 0 / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.42e-05, allocations: 3.188 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001174/0.001198, allocations: 0.6446 MB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003251/0.001523, allocations: 167.9 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.001552, allocations: 0.7812 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.001572, allocations: 3.938 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.001732, allocations: 20.86 kB / 0.788 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.001895, allocations: 69.38 kB / 0.788 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.476e-05/0.00195, allocations: 27.92 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.001988, allocations: 3.984 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.002031, allocations: 19.92 kB / 0.7881 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.00209, allocations: 18.16 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.002104, allocations: 0 / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.002196, allocations: 47.83 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.002215, allocations: 19.91 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.002234, allocations: 8 kB / 0.7882 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.002369, allocations: 99.64 kB / 0.7883 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.00237, allocations: 2.031 kB / 0.7883 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002371, allocations: 0 / 0.7883 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.002375, allocations: 0 / 0.7883 GB, free: 11.25 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.0003853/0.00276, allocations: 380.5 kB / 0.7886 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.002796, allocations: 9.594 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.00283, allocations: 8.891 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.619e-05/0.002926, allocations: 128.5 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.002937, allocations: 384 / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.00296, allocations: 4.359 kB / 0.7888 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.003074, allocations: 64.69 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.003083, allocations: 192 / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.003094, allocations: 4.375 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.003101, allocations: 384 / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.88e-05/0.00314, allocations: 28.92 kB / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.003356, allocations: 243.8 kB / 0.7891 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.23e-05/0.003429, allocations: 47.11 kB / 0.7892 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.003458, allocations: 16.25 kB / 0.7892 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.003476, allocations: 5.156 kB / 0.7892 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.003496, allocations: 41.41 kB / 0.7892 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.003498, allocations: 0 / 0.7892 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0129/0.0164, allocations: 1.479 MB / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.01643, allocations: 51.41 kB / 0.7907 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.01652, allocations: 177.9 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.01657, allocations: 34.7 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.01662, allocations: 142.8 kB / 0.7911 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.01666, allocations: 15.86 kB / 0.7911 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.01679, allocations: 36.02 kB / 0.7911 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.01689, allocations: 0.4889 MB / 0.7916 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.01714, allocations: 104 kB / 0.7917 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.01739, allocations: 106.7 kB / 0.7918 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/0.0179, allocations: 219.7 kB / 0.792 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.0179, allocations: 0 / 0.792 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006495/0.01855, allocations: 261.5 kB / 0.7922 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.01856, allocations: 4 kB / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.01857, allocations: 4 kB / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.01858, allocations: 0 / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/0.01931, allocations: 62.12 kB / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.01931, allocations: 0 / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/0.01989, allocations: 39.95 kB / 0.7923 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.01993, allocations: 8.062 kB / 0.7924 GB, free: 6.906 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.0001168/0.02004, allocations: 156.6 kB / 0.7925 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.02012, allocations: 12.86 kB / 0.7925 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.002e-05/0.0202, allocations: 27.23 kB / 0.7925 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.02021, allocations: 3.938 kB / 0.7925 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.02021, allocations: 0 / 0.7925 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.02021, allocations: 0 / 0.7925 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.02283, allocations: 0.6511 MB / 0.7932 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02283, allocations: 0 / 0.7932 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.02333, allocations: 51.94 kB / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.02333, allocations: 4.062 kB / 0.7932 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.02336, allocations: 8.422 kB / 0.7932 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.02336, allocations: 0 / 0.7932 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.02337, allocations: 3.938 kB / 0.7932 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.02386, allocations: 287.3 kB / 0.7935 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.02387, allocations: 3.953 kB / 0.7935 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.02391, allocations: 4 kB / 0.7935 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.02435, allocations: 43.94 kB / 0.7936 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.02436, allocations: 3.938 kB / 0.7936 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.02439, allocations: 7.984 kB / 0.7936 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.02444, allocations: 143.2 kB / 0.7937 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02444, allocations: 0 / 0.7937 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002693/0.0247, allocations: 91.88 kB / 0.7938 GB, free: 5.344 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.0001757/0.02488, allocations: 119.1 kB / 0.7939 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005027/0.02538, allocations: 179.6 kB / 0.7941 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02538, allocations: 0 / 0.7941 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.02557, allocations: 55.66 kB / 0.7941 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.0258, allocations: 11.98 kB / 0.7942 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.02715, allocations: 265 kB / 0.7944 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.009e-05/0.0272, allocations: 59.34 kB / 0.7945 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002401/0.02744, allocations: 48 kB / 0.7945 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/0.02778, allocations: 20.48 kB / 0.7945 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of SimCode: time 1.573e-06/0.02778, allocations: 4 kB / 0.7945 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of Templates: time 0.0102/0.03798, allocations: 9.876 MB / 0.8042 GB, free: 10.6 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.382358358241618]