Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.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.0008716/0.0008716, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.0009065/0.0009065, allocations: 167.3 kB / 24.87 MB, free: 9.27 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.9439/0.9439, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.751/1.751, allocations: 359 MB / 0.6063 GB, free: 10.87 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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.013e-05, allocations: 7.312 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001789/0.00181, allocations: 1.495 MB / 0.7898 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003125/0.002122, allocations: 192 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.00215, allocations: 0 / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.002173, allocations: 0.5625 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.129e-05/0.002214, allocations: 0.9062 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.002441, allocations: 47.77 kB / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.441e-05/0.002496, allocations: 25.48 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.995e-05/0.002566, allocations: 8 kB / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.002612, allocations: 11.98 kB / 0.79 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3e-05/0.002642, allocations: 7.984 kB / 0.7901 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.002653, allocations: 1.219 kB / 0.7901 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.002722, allocations: 35.95 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.002735, allocations: 0 / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.002749, allocations: 11.94 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.877e-05/0.002848, allocations: 48.55 kB / 0.7901 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.00285, allocations: 0.9062 kB / 0.7901 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002851, allocations: 0 / 0.7901 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.002854, allocations: 0 / 0.7901 GB, free: 10.33 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002739/0.003128, allocations: 357.2 kB / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.003159, allocations: 13.62 kB / 0.7905 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.003182, allocations: 0.9375 kB / 0.7905 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.859e-05/0.00325, allocations: 112.6 kB / 0.7906 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.003259, allocations: 384 / 0.7906 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-06/0.003265, allocations: 4.359 kB / 0.7906 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.099e-05/0.003356, allocations: 58.39 kB / 0.7907 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.003362, allocations: 192 / 0.7907 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-06/0.003367, allocations: 384 / 0.7907 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.00337, allocations: 384 / 0.7907 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.003388, allocations: 7.938 kB / 0.7907 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.003586, allocations: 244.3 kB / 0.7909 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/0.003625, allocations: 31 kB / 0.7909 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.00364, allocations: 11.75 kB / 0.7909 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.003678, allocations: 0.5 kB / 0.7909 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.003696, allocations: 42.02 kB / 0.791 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.003697, allocations: 0 / 0.791 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 9.879e-05/0.003796, allocations: 43.28 kB / 0.791 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.003821, allocations: 55.41 kB / 0.7911 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.004025, allocations: 165.9 kB / 0.7912 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.004032, allocations: 25.7 kB / 0.7913 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.004069, allocations: 131.7 kB / 0.7914 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.004084, allocations: 7.891 kB / 0.7914 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.004107, allocations: 20.44 kB / 0.7914 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.004208, allocations: 496.1 kB / 0.7919 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.004217, allocations: 7.984 kB / 0.7919 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-06/0.004225, allocations: 1.375 kB / 0.7919 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.224e-05/0.004247, allocations: 15.69 kB / 0.7919 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004249, allocations: 0.875 kB / 0.7919 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.044e-05/0.004299, allocations: 35.02 kB / 0.792 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.004309, allocations: 4 kB / 0.792 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.004313, allocations: 8 kB / 0.792 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.124e-06/0.004321, allocations: 3.938 kB / 0.792 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.004371, allocations: 12.67 kB / 0.792 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.004374, allocations: 1.844 kB / 0.792 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.00439, allocations: 4 kB / 0.792 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.004394, allocations: 0 / 0.792 GB, free: 8.258 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 (2): * Single equations (assignments): 2 * 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 5.114e-05/0.004445, allocations: 152.6 kB / 0.7921 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.004463, allocations: 11.95 kB / 0.7921 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.731e-05/0.00452, allocations: 37.62 kB / 0.7922 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.004524, allocations: 8.625 kB / 0.7922 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.004525, allocations: 0 / 0.7922 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.004529, allocations: 5.203 kB / 0.7922 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.305e-05/0.004612, allocations: 101.2 kB / 0.7923 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.004612, allocations: 0 / 0.7923 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.004629, allocations: 4.531 kB / 0.7923 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.00463, allocations: 1.188 kB / 0.7923 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-06/0.004633, allocations: 3.938 kB / 0.7923 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.004635, allocations: 7.922 kB / 0.7923 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004636, allocations: 5 kB / 0.7923 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.296e-05/0.004709, allocations: 179.9 kB / 0.7925 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-06/0.004713, allocations: 1.031 kB / 0.7925 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.004721, allocations: 4 kB / 0.7925 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.766e-05/0.004749, allocations: 3.984 kB / 0.7925 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.004773, allocations: 8.688 kB / 0.7925 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.004776, allocations: 3.938 kB / 0.7925 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.004808, allocations: 132.2 kB / 0.7926 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.004808, allocations: 0 / 0.7926 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000147/0.004955, allocations: 11.95 kB / 0.7926 GB, free: 7.531 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 9.591e-05/0.005051, allocations: 104.3 kB / 0.7927 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.302e-05/0.005114, allocations: 20.47 kB / 0.7928 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.92e-07/0.005114, allocations: 0 / 0.7928 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.55e-05/0.00513, allocations: 17.89 kB / 0.7928 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.005296, allocations: 8 kB / 0.7928 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001958/0.005492, allocations: 102.4 kB / 0.7929 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.205e-05/0.005524, allocations: 62.08 kB / 0.7929 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.411e-05/0.005538, allocations: 0 / 0.7929 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.005578, allocations: 74.2 kB / 0.793 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of SimCode: time 7.62e-07/0.005578, allocations: 0 / 0.793 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of Templates: time 0.002063/0.007642, allocations: 0.7104 MB / 0.7937 GB, free: 6.406 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.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.801199735142291]