Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00108/0.00108, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00176/0.002841, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001106/0.001106, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00149/0.002596, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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.9884/0.9884, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09254/1.081, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.473/2.473, allocations: 447.1 MB / 0.675 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2439/2.717, allocations: 146 MB / 0.8176 GB, free: 3.844 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.561e-05, allocations: 6.25 kB / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001041/0.001057, allocations: 0.6618 MB / 0.8196 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002024/0.001259, allocations: 155.5 kB / 0.8198 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.00128, allocations: 0 / 0.8198 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-06/0.001284, allocations: 0 / 0.8198 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.959e-06/0.001288, allocations: 3.938 kB / 0.8198 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.001438, allocations: 35.78 kB / 0.8198 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.8e-05/0.001486, allocations: 15.97 kB / 0.8198 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.001522, allocations: 4 kB / 0.8198 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.001565, allocations: 7.984 kB / 0.8199 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.834e-05/0.001633, allocations: 11.94 kB / 0.8199 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.001647, allocations: 0 / 0.8199 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.001735, allocations: 43.94 kB / 0.8199 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.001748, allocations: 4 kB / 0.8199 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.192e-05/0.00176, allocations: 0 / 0.8199 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.323e-05/0.001854, allocations: 31.91 kB / 0.8199 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.001864, allocations: 3.938 kB / 0.8199 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.41e-07/0.001865, allocations: 3.938 kB / 0.82 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.001879, allocations: 0 / 0.82 GB, free: 1.453 MB / 0.7917 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.000325/0.002204, allocations: 244.6 kB / 0.8202 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.002236, allocations: 8.031 kB / 0.8202 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.002265, allocations: 4.938 kB / 0.8202 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.167e-05/0.002347, allocations: 109.8 kB / 0.8203 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.002357, allocations: 384 / 0.8203 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.002382, allocations: 4.375 kB / 0.8203 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.417e-05/0.002467, allocations: 63.95 kB / 0.8204 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.002473, allocations: 4.188 kB / 0.8204 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-06/0.002479, allocations: 384 / 0.8204 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.002485, allocations: 4.375 kB / 0.8204 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.002512, allocations: 15.86 kB / 0.8204 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.532e-05/0.002597, allocations: 65.05 kB / 0.8205 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.35e-05/0.00266, allocations: 34.56 kB / 0.8205 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.002678, allocations: 16.84 kB / 0.8205 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.00291, allocations: 64.14 kB / 0.8206 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.002929, allocations: 30.56 kB / 0.8206 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=5): time 7.52e-07/0.00293, allocations: 4 kB / 0.8206 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of matching and sorting (n=7): time 0.0007351/0.003665, allocations: 487.9 kB / 0.8211 GB, free: 148 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.003687, allocations: 51.41 kB / 0.8211 GB, free: 84 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.297e-05/0.00374, allocations: 94.72 kB / 0.8212 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.003751, allocations: 29.7 kB / 0.8212 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.903e-05/0.00377, allocations: 84.14 kB / 0.8213 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.003795, allocations: 27.72 kB / 0.8213 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.003823, allocations: 21.72 kB / 0.8214 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.003892, allocations: 326.9 kB / 0.8217 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.003901, allocations: 4.438 kB / 0.8217 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-06/0.00391, allocations: 8 kB / 0.8217 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.246e-05/0.003943, allocations: 20.84 kB / 0.8217 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.003944, allocations: 4 kB / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 5.336e-05/0.003997, allocations: 65.59 kB / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.004008, allocations: 8 kB / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.004012, allocations: 3.938 kB / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.004024, allocations: 0 / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.004074, allocations: 12 kB / 0.8218 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.004076, allocations: 0 / 0.8218 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.004089, allocations: 11.92 kB / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.004094, allocations: 7.984 kB / 0.8218 GB, free: 15.32 MB / 0.8073 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 5.179e-05/0.004146, allocations: 113.8 kB / 0.8219 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.004153, allocations: 4 kB / 0.8219 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.463e-05/0.004237, allocations: 61.64 kB / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.004239, allocations: 0 / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.00424, allocations: 0 / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.004243, allocations: 0 / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.051e-05/0.004303, allocations: 81.81 kB / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.004304, allocations: 0 / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.004343, allocations: 16 kB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-06/0.004349, allocations: 7.984 kB / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.004349, allocations: 0 / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.004355, allocations: 0 / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.004355, allocations: 0 / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.004357, allocations: 7.938 kB / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.733e-05/0.004444, allocations: 89.05 kB / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.004453, allocations: 0 / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.46e-05/0.004467, allocations: 3.984 kB / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.004481, allocations: 8 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.004484, allocations: 4.031 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.634e-06/0.004492, allocations: 4.859 kB / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004492, allocations: 4 kB / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001145/0.004607, allocations: 27.92 kB / 0.8222 GB, free: 14.84 MB / 0.8073 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.0001475/0.004754, allocations: 124.3 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.987e-05/0.004824, allocations: 45.22 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.00483, allocations: 0 / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.679e-05/0.004857, allocations: 28.84 kB / 0.8224 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.978e-05/0.004927, allocations: 8.031 kB / 0.8224 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.005162, allocations: 144.4 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.31e-05/0.005195, allocations: 59.34 kB / 0.8226 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.493e-05/0.00522, allocations: 4 kB / 0.8226 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.005264, allocations: 55.38 kB / 0.8227 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.005265, allocations: 0 / 0.8227 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.002262/0.007527, allocations: 1.007 MB / 0.8237 GB, free: 13.33 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.121982913464308]