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.001006/0.001006, 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.0009827/0.0009827, 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 1.011/1.011, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.769/1.769, allocations: 359 MB / 0.6055 GB, free: 11.02 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 2.595e-06/2.595e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.534e-05, allocations: 7.016 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003285/0.003321, allocations: 1.497 MB / 0.7886 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004673/0.003788, allocations: 188.1 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.003833, allocations: 5.406 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.003865, allocations: 0 / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.00392, allocations: 7.875 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.004269, allocations: 40.89 kB / 0.7888 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.418e-05/0.004353, allocations: 15.94 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.004462, allocations: 17.53 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.054e-05/0.004533, allocations: 8 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.004582, allocations: 11.92 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.004603, allocations: 4 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.004708, allocations: 33.53 kB / 0.7889 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.004726, allocations: 3.984 kB / 0.7889 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.00475, allocations: 8 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.004903, allocations: 39.88 kB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.004906, allocations: 0 / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.373e-06/0.004908, allocations: 4.938 kB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.004913, allocations: 0 / 0.7889 GB, free: 10.94 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.0004541/0.005367, allocations: 369.1 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.005417, allocations: 8.531 kB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.005476, allocations: 4.938 kB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.00559, allocations: 109.8 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.005606, allocations: 4.375 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.005619, allocations: 4.375 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.005793, allocations: 57.08 kB / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.005802, allocations: 192 / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.005812, allocations: 384 / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.005821, allocations: 384 / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.475e-05/0.005866, allocations: 11.92 kB / 0.7895 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.00622, allocations: 249.9 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.791e-05/0.006288, allocations: 35.03 kB / 0.7897 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.006316, allocations: 11.75 kB / 0.7898 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-05/0.006396, allocations: 0 / 0.7898 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.006426, allocations: 45.39 kB / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.006427, allocations: 0.7188 kB / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001937/0.006621, allocations: 46.09 kB / 0.7898 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.00666, allocations: 51.41 kB / 0.7899 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.006758, allocations: 163.6 kB / 0.79 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.006771, allocations: 25.7 kB / 0.7901 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.00684, allocations: 134.9 kB / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.006863, allocations: 11.89 kB / 0.7902 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.006898, allocations: 16.03 kB / 0.7902 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.007054, allocations: 0.4884 MB / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.007073, allocations: 1.094 kB / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.461e-05/0.007088, allocations: 0 / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.207e-05/0.00713, allocations: 16.83 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.007133, allocations: 4 kB / 0.7907 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.463e-05/0.007228, allocations: 43.02 kB / 0.7908 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.007247, allocations: 4 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.007254, allocations: 3.938 kB / 0.7908 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.007272, allocations: 0 / 0.7908 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.007387, allocations: 13.67 kB / 0.7908 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.007395, allocations: 4 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.739e-05/0.007423, allocations: 0 / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.007429, allocations: 0 / 0.7908 GB, free: 8.832 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 9.768e-05/0.007527, allocations: 157.5 kB / 0.7909 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.007555, allocations: 3.953 kB / 0.7909 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.007699, allocations: 50.44 kB / 0.791 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.007702, allocations: 0 / 0.791 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.007706, allocations: 0 / 0.791 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.007712, allocations: 3.984 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.007857, allocations: 121.9 kB / 0.7911 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.007859, allocations: 3.938 kB / 0.7911 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.007913, allocations: 4 kB / 0.7911 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.007917, allocations: 3.094 kB / 0.7911 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.007928, allocations: 4.234 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.007933, allocations: 3.938 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.007936, allocations: 4 kB / 0.7911 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.008098, allocations: 184 kB / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-06/0.008107, allocations: 0 / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.008126, allocations: 7.984 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.008198, allocations: 4.438 kB / 0.7913 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.008252, allocations: 0 / 0.7913 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.008259, allocations: 5.938 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.00832, allocations: 131.2 kB / 0.7915 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.00832, allocations: 0 / 0.7915 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002765/0.008597, allocations: 11.95 kB / 0.7915 GB, free: 8.078 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 0.0002314/0.008828, allocations: 113.6 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.008948, allocations: 19.67 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.008951, allocations: 0 / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/0.008979, allocations: 11.69 kB / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.009285, allocations: 8 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.009688, allocations: 116 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.755e-05/0.009735, allocations: 51.36 kB / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.009764, allocations: 5.219 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.009797, allocations: 12.5 kB / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.009798, allocations: 3.938 kB / 0.7918 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of Templates: time 0.00382/0.01362, allocations: 0.6287 MB / 0.7924 GB, free: 7.078 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: 5.035170402145013]