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.0009673/0.0009673, 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.001371/0.001371, 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 0.8928/0.8928, allocations: 177.1 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.741/1.741, allocations: 359 MB / 0.6052 GB, free: 10.96 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.132e-06/1.132e-06, allocations: 0.875 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.511e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001604/0.001619, allocations: 1.496 MB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002999/0.001919, allocations: 184.1 kB / 0.7887 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.001945, allocations: 0.8438 kB / 0.7887 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.001972, allocations: 7.922 kB / 0.7887 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.997e-05/0.002012, allocations: 4.562 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.002245, allocations: 40.52 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.181e-05/0.002307, allocations: 24.83 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.05e-05/0.002377, allocations: 4 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.00242, allocations: 15.92 kB / 0.7888 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.74e-05/0.002447, allocations: 8.594 kB / 0.7888 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.00246, allocations: 3.438 kB / 0.7888 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.486e-05/0.002534, allocations: 39.95 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.002549, allocations: 7.984 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.52e-05/0.002564, allocations: 0 / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.002678, allocations: 47.81 kB / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.002681, allocations: 0 / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002681, allocations: 0 / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.002685, allocations: 0 / 0.7889 GB, free: 10.57 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.0003157/0.003001, allocations: 368.6 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.003036, allocations: 8.75 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.00307, allocations: 4.938 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.568e-05/0.003146, allocations: 106.3 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.003156, allocations: 384 / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.003165, allocations: 8.375 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.003281, allocations: 54.94 kB / 0.7895 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.411e-06/0.003287, allocations: 4.125 kB / 0.7895 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.003295, allocations: 1.719 kB / 0.7895 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.0033, allocations: 384 / 0.7895 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.825e-05/0.003328, allocations: 11.92 kB / 0.7895 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.00356, allocations: 249.4 kB / 0.7897 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.644e-05/0.003606, allocations: 31.05 kB / 0.7897 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.003627, allocations: 15.75 kB / 0.7898 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-05/0.003677, allocations: 4 kB / 0.7898 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.003697, allocations: 46.48 kB / 0.7898 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.003698, allocations: 0 / 0.7898 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001239/0.003822, allocations: 43.06 kB / 0.7899 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.003846, allocations: 55.41 kB / 0.7899 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.979e-05/0.003906, allocations: 161.9 kB / 0.7901 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.003914, allocations: 25.7 kB / 0.7901 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.00395, allocations: 135.3 kB / 0.7902 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.003965, allocations: 8.422 kB / 0.7902 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.003988, allocations: 19.91 kB / 0.7902 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.00408, allocations: 496.1 kB / 0.7907 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.004091, allocations: 4.844 kB / 0.7907 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/0.004101, allocations: 7.922 kB / 0.7907 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.004125, allocations: 12.53 kB / 0.7907 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004126, allocations: 0.5312 kB / 0.7907 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.479e-05/0.004171, allocations: 43.08 kB / 0.7908 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.004186, allocations: 5.562 kB / 0.7908 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.00419, allocations: 3.938 kB / 0.7908 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.0042, allocations: 0 / 0.7908 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.004257, allocations: 9.266 kB / 0.7908 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.004261, allocations: 0 / 0.7908 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.004276, allocations: 4 kB / 0.7908 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.00428, allocations: 0.6562 kB / 0.7908 GB, free: 8.461 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.269e-05/0.004333, allocations: 161.2 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.004345, allocations: 3.953 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.152e-05/0.004417, allocations: 50.03 kB / 0.791 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.004418, allocations: 0 / 0.791 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-06/0.004421, allocations: 0.8438 kB / 0.791 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.004423, allocations: 0 / 0.791 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.23e-05/0.004505, allocations: 116.6 kB / 0.7911 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.004507, allocations: 5.219 kB / 0.7911 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.004526, allocations: 7.984 kB / 0.7911 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.004527, allocations: 0 / 0.7911 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.004532, allocations: 0.9062 kB / 0.7911 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.004534, allocations: 3.938 kB / 0.7911 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.004535, allocations: 2.219 kB / 0.7911 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.395e-05/0.004609, allocations: 187.9 kB / 0.7913 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.004614, allocations: 3.984 kB / 0.7913 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-06/0.004622, allocations: 256 / 0.7913 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.94e-05/0.004651, allocations: 11.94 kB / 0.7913 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.004679, allocations: 3.188 kB / 0.7913 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.004682, allocations: 0 / 0.7913 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.84e-05/0.00471, allocations: 131.2 kB / 0.7915 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00471, allocations: 3.938 kB / 0.7915 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001511/0.004861, allocations: 15.95 kB / 0.7915 GB, free: 7.703 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.574e-05/0.004957, allocations: 103.2 kB / 0.7916 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.184e-05/0.005029, allocations: 23.61 kB / 0.7916 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.005031, allocations: 5.188 kB / 0.7916 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.51e-05/0.005046, allocations: 11.69 kB / 0.7916 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.005207, allocations: 4.594 kB / 0.7916 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002169/0.005424, allocations: 111.9 kB / 0.7917 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.884e-05/0.005453, allocations: 55.36 kB / 0.7918 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.622e-05/0.005469, allocations: 8.875 kB / 0.7918 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.00549, allocations: 12.5 kB / 0.7918 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.00549, allocations: 0 / 0.7918 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of Templates: time 0.002081/0.007571, allocations: 0.6783 MB / 0.7925 GB, free: 6.66 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.629104631021619]