Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001814/0.001814, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.001961/0.001961, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.521/1.521, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.002/3.002, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 1.094 kB / 0.8109 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.033e-05, allocations: 3.438 kB / 0.8109 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001724/0.001754, allocations: 0.6186 MB / 0.8115 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004217/0.002176, allocations: 147.6 kB / 0.8116 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.002202, allocations: 0.7812 kB / 0.8116 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.002214, allocations: 0 / 0.8116 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.461e-05/0.002239, allocations: 1.688 kB / 0.8116 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.002532, allocations: 47.77 kB / 0.8117 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.974e-05/0.002581, allocations: 11.98 kB / 0.8117 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.002616, allocations: 0 / 0.8117 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.129e-05/0.002658, allocations: 17.5 kB / 0.8117 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.002721, allocations: 7.938 kB / 0.8117 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.002735, allocations: 0 / 0.8117 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.23e-05/0.002817, allocations: 27.97 kB / 0.8117 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.002839, allocations: 13.16 kB / 0.8117 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.002857, allocations: 4 kB / 0.8117 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.002983, allocations: 43.81 kB / 0.8118 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002985, allocations: 1.594 kB / 0.8118 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002985, allocations: 0 / 0.8118 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.002989, allocations: 0 / 0.8118 GB, free: 1.141 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000468/0.003457, allocations: 352.4 kB / 0.8121 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.003497, allocations: 10.62 kB / 0.8121 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.003543, allocations: 8.875 kB / 0.8121 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.003661, allocations: 112.5 kB / 0.8122 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.003676, allocations: 4.375 kB / 0.8122 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.003697, allocations: 4.375 kB / 0.8122 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.00383, allocations: 71.89 kB / 0.8123 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.003838, allocations: 192 / 0.8123 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.003847, allocations: 1.094 kB / 0.8123 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.003851, allocations: 384 / 0.8123 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.506e-05/0.003916, allocations: 24.45 kB / 0.8123 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.004101, allocations: 118.2 kB / 0.8125 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.004214, allocations: 51.05 kB / 0.8125 GB, free: 288 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/0.004253, allocations: 19.81 kB / 0.8125 GB, free: 264 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.526e-05/0.004328, allocations: 7.984 kB / 0.8125 GB, free: 256 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.004363, allocations: 34.05 kB / 0.8126 GB, free: 212 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.004364, allocations: 4 kB / 0.8126 GB, free: 208 kB / 0.7605 GB Notification: Performance of matching and sorting (n=7): time 0.001344/0.005708, allocations: 420 kB / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.005757, allocations: 55.34 kB / 0.813 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.005893, allocations: 163 kB / 0.8132 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.005915, allocations: 25.7 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.005987, allocations: 127.7 kB / 0.8133 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.006021, allocations: 19.86 kB / 0.8133 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.006075, allocations: 27.36 kB / 0.8134 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002795/0.006355, allocations: 0.4889 MB / 0.8138 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.302e-05/0.006388, allocations: 12.84 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/0.006416, allocations: 15.89 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.266e-05/0.006498, allocations: 41.97 kB / 0.8139 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006499, allocations: 4 kB / 0.8139 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001307/0.00663, allocations: 69.64 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.006644, allocations: 4 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.006649, allocations: 0 / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.006669, allocations: 7.922 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/0.006753, allocations: 12.56 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.006761, allocations: 6.469 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.006881, allocations: 0 / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.006905, allocations: 11.94 kB / 0.814 GB, free: 14.59 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 (8): * Single equations (assignments): 8 * 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 0.0001789/0.007084, allocations: 160.5 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.007117, allocations: 4 kB / 0.8142 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.007403, allocations: 91.3 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.007409, allocations: 4 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.007421, allocations: 3.938 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.007426, allocations: 0 / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.007593, allocations: 120.6 kB / 0.8144 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.007595, allocations: 0.5312 kB / 0.8144 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.007717, allocations: 11.98 kB / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.007721, allocations: 4.562 kB / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.007733, allocations: 5.719 kB / 0.8144 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.007735, allocations: 0 / 0.8144 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007736, allocations: 0 / 0.8144 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.007988, allocations: 136.2 kB / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.007996, allocations: 0.6562 kB / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.008011, allocations: 0 / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.401e-05/0.008065, allocations: 7.75 kB / 0.8145 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.008096, allocations: 11.98 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.008107, allocations: 7.938 kB / 0.8146 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.142e-05/0.008178, allocations: 119.2 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008178, allocations: 0 / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002896/0.008468, allocations: 31.92 kB / 0.8147 GB, free: 13.82 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0002761/0.008744, allocations: 135.2 kB / 0.8148 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.008893, allocations: 51.61 kB / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.008895, allocations: 1.844 kB / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.717e-05/0.008942, allocations: 23.67 kB / 0.8149 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.00909, allocations: 8 kB / 0.8149 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.009488, allocations: 146.6 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.767e-05/0.009565, allocations: 68.31 kB / 0.8151 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.836e-05/0.009604, allocations: 9.078 kB / 0.8151 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.009635, allocations: 13.56 kB / 0.8151 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of SimCode: time 7.81e-07/0.009635, allocations: 3.938 kB / 0.8151 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.004173/0.01381, allocations: 0.9095 MB / 0.816 GB, free: 12.43 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.934627144015394]