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.0008328/0.0008328, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.0009567/0.0009567, allocations: 181.3 kB / 24.09 MB, free: 412 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.9376/0.9376, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.789/1.789, allocations: 359 MB / 0.6055 GB, free: 10.91 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.413e-06/1.413e-06, allocations: 0.6562 kB / 0.7876 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.957e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001775/0.001795, allocations: 1.492 MB / 0.789 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000329/0.002124, allocations: 188 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.002158, allocations: 0.6562 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.002184, allocations: 3.984 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.002229, allocations: 9.188 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.002471, allocations: 39.83 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.734e-05/0.002528, allocations: 21.52 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.432e-05/0.002602, allocations: 11.94 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.884e-05/0.002651, allocations: 11.98 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.975e-05/0.002681, allocations: 4 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.002695, allocations: 0.5 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.581e-05/0.002771, allocations: 35.97 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.002785, allocations: 11.41 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.376e-05/0.002799, allocations: 7.938 kB / 0.7893 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.002909, allocations: 39.89 kB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.002912, allocations: 0 / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002912, allocations: 0 / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.002916, allocations: 0 / 0.7894 GB, free: 10.36 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.0002953/0.003211, allocations: 368.6 kB / 0.7897 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.003248, allocations: 8.031 kB / 0.7897 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.003272, allocations: 5.656 kB / 0.7897 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.335e-05/0.003335, allocations: 112.6 kB / 0.7899 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.003343, allocations: 2.031 kB / 0.7899 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-06/0.003348, allocations: 4.375 kB / 0.7899 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.78e-05/0.003436, allocations: 58.92 kB / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-06/0.003441, allocations: 192 / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-06/0.003446, allocations: 384 / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.00345, allocations: 1.031 kB / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.003468, allocations: 8.656 kB / 0.7899 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.003662, allocations: 240.3 kB / 0.7902 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.923e-05/0.003702, allocations: 32.22 kB / 0.7902 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.224e-05/0.003714, allocations: 7.688 kB / 0.7902 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.003759, allocations: 8.875 kB / 0.7902 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.003778, allocations: 33.39 kB / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.003779, allocations: 5.281 kB / 0.7902 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 9.888e-05/0.003878, allocations: 53.56 kB / 0.7903 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.003901, allocations: 51.41 kB / 0.7903 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.459e-05/0.003955, allocations: 155 kB / 0.7905 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.003965, allocations: 25.7 kB / 0.7905 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.004003, allocations: 138.8 kB / 0.7906 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.004018, allocations: 8.766 kB / 0.7907 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.004041, allocations: 15.38 kB / 0.7907 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.004135, allocations: 497.3 kB / 0.7911 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-06/0.004143, allocations: 0 / 0.7911 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-06/0.004152, allocations: 8 kB / 0.7912 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.922e-05/0.004171, allocations: 13.09 kB / 0.7912 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.004173, allocations: 3.984 kB / 0.7912 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.942e-05/0.004213, allocations: 38.17 kB / 0.7912 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/0.004221, allocations: 4.5 kB / 0.7912 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.004225, allocations: 256 / 0.7912 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.004234, allocations: 4.469 kB / 0.7912 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.469e-05/0.004279, allocations: 12.88 kB / 0.7912 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.004281, allocations: 0 / 0.7912 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.004296, allocations: 4.797 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.004299, allocations: 0 / 0.7912 GB, free: 8.281 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.291e-05/0.004352, allocations: 165.1 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.004365, allocations: 5.328 kB / 0.7914 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.486e-05/0.00443, allocations: 48.92 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.004432, allocations: 3.938 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.004434, allocations: 1.281 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.004437, allocations: 0 / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.926e-05/0.004516, allocations: 101.2 kB / 0.7915 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004517, allocations: 0 / 0.7915 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.004534, allocations: 8.812 kB / 0.7915 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.004535, allocations: 0 / 0.7915 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-06/0.004539, allocations: 0.9375 kB / 0.7915 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.004539, allocations: 0 / 0.7915 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.00454, allocations: 0 / 0.7915 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.133e-05/0.004611, allocations: 189.1 kB / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-06/0.004615, allocations: 0 / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-06/0.004621, allocations: 4.875 kB / 0.7917 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.901e-05/0.00465, allocations: 8 kB / 0.7917 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.004676, allocations: 3.984 kB / 0.7917 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.00468, allocations: 6.156 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.00471, allocations: 127.1 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004711, allocations: 0 / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001432/0.004854, allocations: 15.95 kB / 0.7919 GB, free: 7.551 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.512e-05/0.004949, allocations: 114.3 kB / 0.792 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.277e-05/0.005002, allocations: 15.69 kB / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.92e-07/0.005002, allocations: 0 / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.226e-05/0.005015, allocations: 7.688 kB / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.00517, allocations: 11.98 kB / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001733/0.005344, allocations: 111.5 kB / 0.7921 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.844e-05/0.005372, allocations: 55.3 kB / 0.7922 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.272e-05/0.005385, allocations: 4 kB / 0.7922 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.00542, allocations: 74.77 kB / 0.7923 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of SimCode: time 3.4e-07/0.005421, allocations: 0.5 kB / 0.7923 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of Templates: time 0.001912/0.007332, allocations: 0.6995 MB / 0.7929 GB, free: 6.418 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.683923160191625]