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.001157/0.001157, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001227/0.001227, allocations: 169 kB / 24.28 MB, free: 276 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.9547/0.9547, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.723/1.723, allocations: 359 MB / 0.6055 GB, free: 11.01 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.613e-06/1.613e-06, allocations: 0 / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.106e-05/3.267e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001471/0.001504, allocations: 0.6255 MB / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.002972, allocations: 1.423 MB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.003009, allocations: 0 / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.901e-05/0.003068, allocations: 3.938 kB / 0.7892 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.057e-05/0.003108, allocations: 5.469 kB / 0.7892 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.003734, allocations: 176.7 kB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.00384, allocations: 55.88 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.00388, allocations: 4.625 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.003e-05/0.00393, allocations: 15.98 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.003986, allocations: 29.31 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.003998, allocations: 0 / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.004285, allocations: 223.6 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.004335, allocations: 8.875 kB / 0.7897 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.004371, allocations: 15.98 kB / 0.7897 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.004631, allocations: 231.4 kB / 0.7899 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.004635, allocations: 0.8438 kB / 0.7899 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.472e-06/0.004636, allocations: 0 / 0.7899 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.004641, allocations: 1 kB / 0.7899 GB, free: 9.926 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.0004017/0.005043, allocations: 471.5 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.005084, allocations: 8.031 kB / 0.7903 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.005135, allocations: 13.45 kB / 0.7904 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.005243, allocations: 123.8 kB / 0.7905 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.005257, allocations: 4.375 kB / 0.7905 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.005269, allocations: 4.375 kB / 0.7905 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.005429, allocations: 119.9 kB / 0.7906 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.005436, allocations: 1.781 kB / 0.7906 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.005447, allocations: 384 / 0.7906 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.005457, allocations: 7.922 kB / 0.7906 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.802e-05/0.005525, allocations: 89.59 kB / 0.7907 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.005646, allocations: 132.7 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.005743, allocations: 109.9 kB / 0.7909 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.681e-05/0.00581, allocations: 93.42 kB / 0.791 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-06/0.005815, allocations: 3.062 kB / 0.791 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.005839, allocations: 37.39 kB / 0.7911 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.005841, allocations: 0 / 0.7911 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0003195/0.00616, allocations: 298.5 kB / 0.7913 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.0062, allocations: 85.05 kB / 0.7914 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.006314, allocations: 207.8 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.006324, allocations: 25.7 kB / 0.7916 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.006373, allocations: 138.9 kB / 0.7918 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.006395, allocations: 16.61 kB / 0.7918 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.006439, allocations: 35.38 kB / 0.7918 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.006557, allocations: 0.4896 MB / 0.7923 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.00667, allocations: 139.3 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.953e-05/0.006759, allocations: 139.3 kB / 0.7926 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.006943, allocations: 249.2 kB / 0.7928 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006946, allocations: 0 / 0.7928 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002496/0.007195, allocations: 345.6 kB / 0.7931 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.007238, allocations: 67.39 kB / 0.7932 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.007244, allocations: 4 kB / 0.7932 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.007258, allocations: 1.156 kB / 0.7932 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.045e-06/0.007261, allocations: 3.984 kB / 0.7932 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.007268, allocations: 3.938 kB / 0.7932 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.007361, allocations: 8.969 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.007371, allocations: 4 kB / 0.7932 GB, free: 6.18 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.081e-05/0.007452, allocations: 192 kB / 0.7934 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.007468, allocations: 11.95 kB / 0.7934 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.562e-05/0.007484, allocations: 12.28 kB / 0.7934 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.007485, allocations: 0 / 0.7934 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.007489, allocations: 3.938 kB / 0.7934 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.007491, allocations: 1.219 kB / 0.7934 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.361e-05/0.007565, allocations: 136.6 kB / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007566, allocations: 0 / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.007567, allocations: 3.438 kB / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.007569, allocations: 0 / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.007578, allocations: 4 kB / 0.7936 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.00758, allocations: 3.938 kB / 0.7936 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007581, allocations: 0 / 0.7936 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.007795, allocations: 255.7 kB / 0.7938 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.007808, allocations: 11.95 kB / 0.7938 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.007823, allocations: 4 kB / 0.7938 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.007862, allocations: 8 kB / 0.7938 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.007921, allocations: 7.984 kB / 0.7939 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.007927, allocations: 8.438 kB / 0.7939 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.007976, allocations: 139.7 kB / 0.794 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007976, allocations: 0.5625 kB / 0.794 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000235/0.008211, allocations: 71.86 kB / 0.7941 GB, free: 5.238 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.0002271/0.008438, allocations: 156.6 kB / 0.7942 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002908/0.008729, allocations: 384.1 kB / 0.7946 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.008731, allocations: 0 / 0.7946 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.354e-05/0.008825, allocations: 158.4 kB / 0.7947 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.00895, allocations: 15.84 kB / 0.7947 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.009262, allocations: 232.4 kB / 0.795 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.544e-05/0.009297, allocations: 68.19 kB / 0.795 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.702e-06/0.009304, allocations: 0 / 0.795 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.009321, allocations: 12.5 kB / 0.795 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/0.009322, allocations: 0.5312 kB / 0.795 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of Templates: time 0.004085/0.01341, allocations: 2.218 MB / 0.7972 GB, free: 1.926 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.9552581899333745]