Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009677/0.0009677, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001704/0.001704, allocations: 161 kB / 24.17 MB, free: 332 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.9593/0.9593, allocations: 177.2 MB / 204.6 MB, free: 5.133 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.874/1.874, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.404e-05, allocations: 4 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.008143/0.008157, allocations: 1.497 MB / 0.7615 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003491/0.008506, allocations: 195.2 kB / 0.7617 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.008535, allocations: 0 / 0.7617 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.008557, allocations: 0 / 0.7617 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.0086, allocations: 6.594 kB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.008825, allocations: 47.81 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.593e-05/0.008881, allocations: 20.59 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.1e-05/0.008942, allocations: 8.953 kB / 0.7618 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.566e-05/0.008988, allocations: 8.984 kB / 0.7618 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.751e-05/0.009025, allocations: 14.33 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.009036, allocations: 0 / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.969e-05/0.009106, allocations: 27.97 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.009123, allocations: 17.17 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.228e-05/0.009135, allocations: 2.125 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.61e-05/0.009231, allocations: 38.14 kB / 0.7619 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.009233, allocations: 0 / 0.7619 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.31e-07/0.009234, allocations: 0.6875 kB / 0.7619 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.855e-06/0.009237, allocations: 0 / 0.7619 GB, free: 4.797 MB / 0.7136 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.0002688/0.009506, allocations: 253.5 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.009535, allocations: 9.688 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.158e-05/0.009557, allocations: 0.9375 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.337e-05/0.00963, allocations: 113.7 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.009638, allocations: 1.141 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.009648, allocations: 4.375 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.66e-05/0.009734, allocations: 63.91 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.009741, allocations: 192 / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.009746, allocations: 1.125 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.009751, allocations: 384 / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.898e-05/0.00977, allocations: 8.688 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.009937, allocations: 145 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.619e-05/0.009973, allocations: 23.27 kB / 0.7625 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.00999, allocations: 11.05 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.01021, allocations: 57.53 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.01023, allocations: 30.56 kB / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.01023, allocations: 1.812 kB / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.004133/0.01436, allocations: 42.83 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.01439, allocations: 55.34 kB / 0.7626 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.085e-05/0.01445, allocations: 114.7 kB / 0.7628 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.01446, allocations: 28.77 kB / 0.7628 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.01449, allocations: 80.14 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.01451, allocations: 7.953 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.01454, allocations: 9.719 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.01463, allocations: 322.8 kB / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-06/0.01463, allocations: 0 / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/0.01464, allocations: 0 / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.01467, allocations: 15.61 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01467, allocations: 0.5469 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.867e-05/0.01472, allocations: 37.62 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.01473, allocations: 9.875 kB / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.01474, allocations: 0 / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.01475, allocations: 0 / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.01481, allocations: 8.703 kB / 0.7632 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.01481, allocations: 1.312 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.01484, allocations: 11.92 kB / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.01484, allocations: 4 kB / 0.7633 GB, free: 3.215 MB / 0.7136 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.529e-05/0.0149, allocations: 106.3 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.01492, allocations: 4.656 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.01498, allocations: 40.09 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01499, allocations: 4.641 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01499, allocations: 11.88 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.01499, allocations: 0 / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.01511, allocations: 69.84 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01511, allocations: 0 / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.669e-05/0.01514, allocations: 8.25 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.01514, allocations: 1.094 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.01514, allocations: 7.125 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01514, allocations: 0 / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01515, allocations: 4 kB / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.218e-05/0.01523, allocations: 135.5 kB / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.01523, allocations: 0 / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.01524, allocations: 0 / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.034e-05/0.01529, allocations: 7.984 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.01532, allocations: 0 / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.01532, allocations: 0.9062 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.372e-05/0.01533, allocations: 13.45 kB / 0.7637 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.01533, allocations: 4.469 kB / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002261/0.01556, allocations: 19.98 kB / 0.7637 GB, free: 2.746 MB / 0.7136 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.0001198/0.01568, allocations: 87.27 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.65e-05/0.01574, allocations: 12.86 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.01574, allocations: 0.875 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.845e-05/0.01576, allocations: 12.84 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.01592, allocations: 4 kB / 0.7638 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.01616, allocations: 111.4 kB / 0.7639 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.774e-05/0.0162, allocations: 59.3 kB / 0.764 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.742e-05/0.01622, allocations: 0 / 0.764 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.01626, allocations: 51.38 kB / 0.764 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.01626, allocations: 0 / 0.764 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of Templates: time 0.002447/0.0187, allocations: 0.6265 MB / 0.7646 GB, free: 1.758 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.935340752825141]