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.001049/0.001049, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00116/0.00116, allocations: 161 kB / 23.82 MB, free: 0.75 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.9648/0.9648, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.736/1.736, allocations: 359 MB / 0.6052 GB, free: 11 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.383e-06/1.383e-06, allocations: 0.7656 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.595e-05, allocations: 5.203 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001175/0.001201, allocations: 0.6453 MB / 0.7878 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000349/0.00155, allocations: 175.9 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.001578, allocations: 1.406 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.001597, allocations: 3.938 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.001762, allocations: 11.88 kB / 0.788 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.00194, allocations: 72.81 kB / 0.788 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.849e-05/0.001999, allocations: 27.91 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.002034, allocations: 5.562 kB / 0.7881 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.511e-05/0.002079, allocations: 23.91 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.297e-05/0.002132, allocations: 11.98 kB / 0.7881 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.002147, allocations: 4 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.325e-05/0.002241, allocations: 53.38 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.002255, allocations: 4 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.002275, allocations: 15.91 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.002411, allocations: 99.66 kB / 0.7883 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.002413, allocations: 0 / 0.7883 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002414, allocations: 0.9688 kB / 0.7883 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.002418, allocations: 0 / 0.7883 GB, free: 11.27 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.000391/0.002809, allocations: 385 kB / 0.7886 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.002844, allocations: 13.28 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.002883, allocations: 8.891 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.089e-05/0.002974, allocations: 116.5 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.002983, allocations: 6.469 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.003003, allocations: 4.375 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.003111, allocations: 62.94 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.003119, allocations: 192 / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.003128, allocations: 384 / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.003135, allocations: 2.5 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.621e-05/0.003171, allocations: 23.86 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.003389, allocations: 251.9 kB / 0.7891 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.037e-05/0.003459, allocations: 39.06 kB / 0.7892 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.003486, allocations: 19.77 kB / 0.7892 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.0035, allocations: 0.7188 kB / 0.7892 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.003519, allocations: 37.33 kB / 0.7892 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.00352, allocations: 0.5312 kB / 0.7892 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.01208/0.0156, allocations: 1.482 MB / 0.7907 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.01564, allocations: 59.41 kB / 0.7907 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.951e-05/0.01574, allocations: 177.8 kB / 0.7909 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/0.01579, allocations: 26.55 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.01585, allocations: 142.8 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.0159, allocations: 26.66 kB / 0.7911 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.01603, allocations: 27.38 kB / 0.7911 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.01614, allocations: 0.4922 MB / 0.7916 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.01637, allocations: 99.97 kB / 0.7917 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.0166, allocations: 111.9 kB / 0.7918 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.01706, allocations: 211.7 kB / 0.792 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01707, allocations: 0 / 0.792 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006317/0.0177, allocations: 271.8 kB / 0.7922 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.01772, allocations: 9.719 kB / 0.7923 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01773, allocations: 432 / 0.7923 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.01775, allocations: 0 / 0.7923 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.01841, allocations: 55.94 kB / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.01842, allocations: 0 / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.01895, allocations: 44.89 kB / 0.7923 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.01899, allocations: 4.078 kB / 0.7924 GB, free: 6.922 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.0001363/0.01913, allocations: 153.7 kB / 0.7925 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.0192, allocations: 15.89 kB / 0.7925 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.096e-05/0.01929, allocations: 36.14 kB / 0.7925 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01929, allocations: 4 kB / 0.7926 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01929, allocations: 0 / 0.7926 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.0193, allocations: 4 kB / 0.7926 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.02182, allocations: 0.6472 MB / 0.7932 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.02183, allocations: 4 kB / 0.7932 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/0.02227, allocations: 43.95 kB / 0.7932 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.02228, allocations: 0 / 0.7932 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.02231, allocations: 7.984 kB / 0.7932 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.02231, allocations: 4.062 kB / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.02232, allocations: 3.938 kB / 0.7932 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.0228, allocations: 279.2 kB / 0.7935 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.02281, allocations: 12.02 kB / 0.7935 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.02286, allocations: 7.984 kB / 0.7935 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.02327, allocations: 31.97 kB / 0.7936 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.02329, allocations: 7.984 kB / 0.7936 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.02331, allocations: 0 / 0.7936 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.02336, allocations: 139.2 kB / 0.7937 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.02336, allocations: 0 / 0.7937 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002853/0.02365, allocations: 111.8 kB / 0.7938 GB, free: 5.352 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.0001971/0.02385, allocations: 111.2 kB / 0.7939 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.02434, allocations: 179.5 kB / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02435, allocations: 0 / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.02452, allocations: 59.66 kB / 0.7941 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.02474, allocations: 8 kB / 0.7942 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.02593, allocations: 261.5 kB / 0.7944 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.758e-05/0.02597, allocations: 59.36 kB / 0.7945 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.02619, allocations: 51.98 kB / 0.7945 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.0265, allocations: 20.48 kB / 0.7945 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of SimCode: time 6.92e-07/0.0265, allocations: 0 / 0.7945 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of Templates: time 0.0107/0.0372, allocations: 10.15 MB / 0.8044 GB, free: 10.35 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.223482010886073]