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.001466/0.001466, allocations: 83.59 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.001572/0.001572, 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 1/1, allocations: 177.1 MB / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.91/1.91, allocations: 377.9 MB / 0.6236 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.453e-06/1.453e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.712e-05, allocations: 4.406 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002509/0.002536, allocations: 1.494 MB / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004768/0.003013, allocations: 185 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.003057, allocations: 0 / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.888e-05/0.003096, allocations: 3.938 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.003153, allocations: 4 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.003521, allocations: 44.53 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.045e-05/0.003592, allocations: 24.41 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.00368, allocations: 5.438 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.092e-05/0.003731, allocations: 11.98 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.623e-05/0.003767, allocations: 11.98 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.003782, allocations: 0 / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.017e-05/0.003863, allocations: 32.48 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.003883, allocations: 15.88 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.003902, allocations: 1.375 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.004024, allocations: 43.88 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.004027, allocations: 0 / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004028, allocations: 1.156 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.004032, allocations: 0 / 0.8134 GB, free: 15.85 MB / 0.7761 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.000362/0.004394, allocations: 364.6 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.004433, allocations: 9.406 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.466e-05/0.004468, allocations: 0.9375 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.707e-05/0.004555, allocations: 120.6 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.004567, allocations: 384 / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.00458, allocations: 5.75 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.004706, allocations: 50.95 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.004716, allocations: 8.125 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.004725, allocations: 0.9375 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.004735, allocations: 8.297 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.004764, allocations: 9.281 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.005047, allocations: 251.8 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.449e-05/0.005102, allocations: 31.06 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.005123, allocations: 8.875 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.49e-05/0.005188, allocations: 12.05 kB / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.005213, allocations: 43.2 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.005214, allocations: 0 / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001438/0.005358, allocations: 41.64 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.005384, allocations: 51.41 kB / 0.8143 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.993e-05/0.005454, allocations: 165.9 kB / 0.8145 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.005463, allocations: 28.17 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.005505, allocations: 126.9 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.005523, allocations: 7.891 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.005551, allocations: 23.38 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.005671, allocations: 496.1 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.005688, allocations: 4 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-06/0.005698, allocations: 0.5 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.279e-05/0.005731, allocations: 20.16 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005733, allocations: 1.938 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.203e-05/0.005795, allocations: 37.69 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.005809, allocations: 8 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.005816, allocations: 3.938 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.005833, allocations: 1.969 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.00591, allocations: 4 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.005916, allocations: 0 / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.005934, allocations: 4 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.005941, allocations: 3.984 kB / 0.8152 GB, free: 13.74 MB / 0.7761 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 6.933e-05/0.00601, allocations: 161.2 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.006026, allocations: 8.422 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.307e-05/0.006119, allocations: 49.84 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006121, allocations: 0 / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.006124, allocations: 0 / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006127, allocations: 0.7812 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.417e-05/0.006221, allocations: 116.8 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.006223, allocations: 5.219 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.00625, allocations: 8 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006251, allocations: 0 / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.006258, allocations: 0.8438 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.006261, allocations: 7.922 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006262, allocations: 3.156 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.348e-05/0.006356, allocations: 191.9 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.006363, allocations: 3.953 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.006373, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.137e-05/0.006404, allocations: 7.938 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.006441, allocations: 7.984 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.006444, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.51e-05/0.006479, allocations: 123.2 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006479, allocations: 2.406 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001599/0.006639, allocations: 12 kB / 0.8159 GB, free: 12.99 MB / 0.7761 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.0001272/0.006766, allocations: 107.2 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.763e-05/0.006843, allocations: 19.69 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006845, allocations: 1 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-05/0.006862, allocations: 15.62 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.007042, allocations: 5.047 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.007288, allocations: 115.1 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.985e-05/0.007328, allocations: 63.2 kB / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.573e-05/0.007344, allocations: 1.125 kB / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.007368, allocations: 8.5 kB / 0.8162 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.223e-06/0.007369, allocations: 0 / 0.8162 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of Templates: time 0.002386/0.009755, allocations: 0.6287 MB / 0.8169 GB, free: 12 MB / 0.7761 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: 5.251493338961154]