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.001326/0.001326, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001404/0.001404, allocations: 181 kB / 24.09 MB, free: 420 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 1.011/1.011, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.741/1.741, allocations: 359 MB / 0.6055 GB, free: 10.88 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.533e-06/1.533e-06, allocations: 0 / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.488e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001372/0.001397, allocations: 0.631 MB / 0.7882 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.002859, allocations: 1.414 MB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.00289, allocations: 0.9375 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.469e-05/0.002945, allocations: 4 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.442e-05/0.002989, allocations: 8.938 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.003556, allocations: 189.4 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.236e-05/0.003648, allocations: 47.91 kB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.83e-05/0.003676, allocations: 0 / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.971e-05/0.003726, allocations: 30.92 kB / 0.7899 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.981e-05/0.003776, allocations: 19.97 kB / 0.7899 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.003788, allocations: 4 kB / 0.7899 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.004064, allocations: 215.5 kB / 0.7901 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.004101, allocations: 15.98 kB / 0.7901 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.00413, allocations: 15.94 kB / 0.7901 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.004358, allocations: 227.5 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.004361, allocations: 0 / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.02e-07/0.004362, allocations: 1.25 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.004365, allocations: 0 / 0.7903 GB, free: 9.336 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.0003319/0.004697, allocations: 475.5 kB / 0.7908 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.004732, allocations: 8.625 kB / 0.7908 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.004764, allocations: 12.83 kB / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.116e-05/0.004845, allocations: 125 kB / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.004853, allocations: 1.969 kB / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.004861, allocations: 4.375 kB / 0.7909 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.004966, allocations: 91.94 kB / 0.791 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.004972, allocations: 4.172 kB / 0.791 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.00498, allocations: 5 kB / 0.791 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004985, allocations: 3.938 kB / 0.791 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.704e-05/0.005022, allocations: 54.38 kB / 0.7911 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.705e-05/0.005119, allocations: 117.3 kB / 0.7912 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.494e-05/0.005184, allocations: 89.36 kB / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.005223, allocations: 65.95 kB / 0.7914 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-06/0.005227, allocations: 0.7812 kB / 0.7914 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.005249, allocations: 41.38 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 2.424e-06/0.005251, allocations: 1.375 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002109/0.005462, allocations: 226.6 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.005495, allocations: 85.09 kB / 0.7917 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/0.005592, allocations: 203.6 kB / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.005605, allocations: 31.52 kB / 0.7919 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.005647, allocations: 138.9 kB / 0.7921 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.005668, allocations: 15.88 kB / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.005704, allocations: 35.31 kB / 0.7921 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.005821, allocations: 0.4923 MB / 0.7926 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.005894, allocations: 100.9 kB / 0.7927 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.766e-05/0.005952, allocations: 107.4 kB / 0.7928 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.006161, allocations: 188.7 kB / 0.793 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006163, allocations: 0 / 0.793 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001789/0.006342, allocations: 274.6 kB / 0.7932 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.006386, allocations: 71.39 kB / 0.7933 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.006393, allocations: 4 kB / 0.7933 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.006404, allocations: 0 / 0.7933 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.006405, allocations: 0 / 0.7933 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.006408, allocations: 0 / 0.7933 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.006492, allocations: 17.84 kB / 0.7933 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.006502, allocations: 4 kB / 0.7933 GB, free: 5.973 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 8.628e-05/0.006588, allocations: 186.3 kB / 0.7935 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.006603, allocations: 11.95 kB / 0.7935 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.006622, allocations: 8.344 kB / 0.7935 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.006624, allocations: 0.5 kB / 0.7935 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.006637, allocations: 5.812 kB / 0.7935 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.00664, allocations: 3.938 kB / 0.7935 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.343e-05/0.006714, allocations: 113.2 kB / 0.7936 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.006716, allocations: 0 / 0.7936 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-07/0.006717, allocations: 0 / 0.7936 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006718, allocations: 2.344 kB / 0.7936 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.006725, allocations: 4 kB / 0.7936 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.006726, allocations: 0 / 0.7936 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006727, allocations: 0 / 0.7936 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.006891, allocations: 223.8 kB / 0.7939 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.006901, allocations: 11.94 kB / 0.7939 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.006911, allocations: 0.5312 kB / 0.7939 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-05/0.006944, allocations: 4.719 kB / 0.7939 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.00699, allocations: 4 kB / 0.7939 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.006994, allocations: 5.156 kB / 0.7939 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.007042, allocations: 145.3 kB / 0.794 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007042, allocations: 0 / 0.794 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000238/0.00728, allocations: 67.88 kB / 0.7941 GB, free: 5.117 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.0002242/0.007504, allocations: 162.5 kB / 0.7942 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.007737, allocations: 320.3 kB / 0.7945 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.007739, allocations: 0 / 0.7945 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/0.007813, allocations: 142.5 kB / 0.7947 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.00793, allocations: 7.906 kB / 0.7947 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.008192, allocations: 212.4 kB / 0.7949 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.189e-05/0.008224, allocations: 63.34 kB / 0.7949 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.841e-06/0.00823, allocations: 0.7812 kB / 0.7949 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.008302, allocations: 90.17 kB / 0.795 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of SimCode: time 8.11e-07/0.008303, allocations: 1.125 kB / 0.795 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of Templates: time 0.004158/0.01246, allocations: 2.426 MB / 0.7974 GB, free: 1.613 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: 4.932103597559035]