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.001045/0.001045, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001259/0.001259, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.982/1.982, allocations: 377.9 MB / 0.6247 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 177] 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.643e-06/1.643e-06, allocations: 0 / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.797e-05, allocations: 3.25 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002827/0.002854, allocations: 1.491 MB / 0.8142 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0004526/0.003307, allocations: 192.2 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.003351, allocations: 0 / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.041e-05/0.003382, allocations: 0.9375 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.457e-05/0.003436, allocations: 3.938 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.003735, allocations: 40.61 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.602e-05/0.003811, allocations: 31.86 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.003899, allocations: 1.688 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.897e-05/0.003958, allocations: 11.98 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.003997, allocations: 11.98 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.004014, allocations: 4 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.443e-05/0.004108, allocations: 29.5 kB / 0.8146 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.004127, allocations: 7.984 kB / 0.8146 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.004144, allocations: 7.938 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.004275, allocations: 39.88 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.004279, allocations: 0.7188 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.232e-06/0.00428, allocations: 0 / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.004285, allocations: 4.812 kB / 0.8146 GB, free: 15.6 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.0003886/0.004674, allocations: 364.6 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.004713, allocations: 9.625 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.004746, allocations: 4.938 kB / 0.815 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.004846, allocations: 112.5 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.00486, allocations: 8.375 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.004866, allocations: 2.969 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.005, allocations: 54.95 kB / 0.8151 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.005009, allocations: 192 / 0.8151 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.005018, allocations: 4.375 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.005024, allocations: 384 / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.538e-05/0.00505, allocations: 7.938 kB / 0.8152 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.005327, allocations: 236.4 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.2e-05/0.005389, allocations: 31.53 kB / 0.8154 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.005407, allocations: 8.406 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.274e-05/0.00547, allocations: 8.594 kB / 0.8154 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.005495, allocations: 37.33 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.005496, allocations: 1.656 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001591/0.005655, allocations: 53.56 kB / 0.8155 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.005691, allocations: 51.41 kB / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.207e-05/0.005773, allocations: 162.4 kB / 0.8157 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.005783, allocations: 25.7 kB / 0.8157 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.005834, allocations: 131.5 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.005853, allocations: 8.672 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.005889, allocations: 23.38 kB / 0.8159 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.006029, allocations: 493.3 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.006044, allocations: 3.984 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.006057, allocations: 4 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.425e-05/0.006091, allocations: 17.05 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006093, allocations: 0 / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.471e-05/0.006168, allocations: 39.39 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.006181, allocations: 4 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.006187, allocations: 0 / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.006199, allocations: 3.938 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-05/0.00628, allocations: 11.98 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.006282, allocations: 1.062 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/0.006306, allocations: 4 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.006311, allocations: 0 / 0.8165 GB, free: 13.52 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.886e-05/0.00638, allocations: 157.4 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.006407, allocations: 10.16 kB / 0.8166 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.162e-05/0.006499, allocations: 45 kB / 0.8167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.006503, allocations: 3.938 kB / 0.8167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.006505, allocations: 0 / 0.8167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.00651, allocations: 3.984 kB / 0.8167 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.006633, allocations: 93.27 kB / 0.8168 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.006635, allocations: 10.72 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.006674, allocations: 4 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.006677, allocations: 0 / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.006683, allocations: 4.234 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.006686, allocations: 4 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.006687, allocations: 0 / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.006815, allocations: 189.5 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.006823, allocations: 7.891 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.006835, allocations: 3.984 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.514e-05/0.00689, allocations: 4 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.006923, allocations: 0.5312 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.006928, allocations: 3.938 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.577e-05/0.006984, allocations: 131.7 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006984, allocations: 0.5625 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002629/0.007247, allocations: 12 kB / 0.8171 GB, free: 12.79 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.0003744/0.007621, allocations: 112.5 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.764e-05/0.007719, allocations: 20.33 kB / 0.8172 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.007721, allocations: 0 / 0.8172 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.945e-05/0.007741, allocations: 8.781 kB / 0.8173 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.008016, allocations: 4 kB / 0.8173 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.008293, allocations: 114.8 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.451e-05/0.008338, allocations: 59.16 kB / 0.8174 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.008363, allocations: 11.92 kB / 0.8174 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.008417, allocations: 74.19 kB / 0.8175 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.008418, allocations: 0 / 0.8175 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.003181/0.0116, allocations: 0.6832 MB / 0.8182 GB, free: 11.68 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.292661961168051]