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.001225/0.001225, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002026/0.00325, allocations: 449.8 kB / 10.44 MB, free: 252 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.001206/0.001206, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001746/0.002952, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.061/1.061, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1026/1.164, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.801/1.801, allocations: 378.4 MB / 0.6079 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4781/2.279, allocations: 123.3 MB / 0.7283 GB, free: 5.754 MB / 0.698 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.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.743e-06/1.743e-06, allocations: 0 / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.463e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002507/0.002531, allocations: 0.6598 MB / 0.7304 GB, free: 3.734 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003508/0.002882, allocations: 161.1 kB / 0.7305 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.002907, allocations: 0.625 kB / 0.7305 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.696e-06/0.002916, allocations: 4 kB / 0.7305 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.404e-05/0.00293, allocations: 0.9062 kB / 0.7305 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.00318, allocations: 32.88 kB / 0.7305 GB, free: 3.547 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.562e-05/0.003256, allocations: 21.28 kB / 0.7306 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.003305, allocations: 0.6562 kB / 0.7306 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.058e-05/0.003375, allocations: 13.55 kB / 0.7306 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.844e-05/0.003474, allocations: 6.375 kB / 0.7306 GB, free: 3.512 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.003496, allocations: 5.422 kB / 0.7306 GB, free: 3.508 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.003644, allocations: 39.94 kB / 0.7306 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.003665, allocations: 0 / 0.7306 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.003683, allocations: 5.312 kB / 0.7306 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.003824, allocations: 35.31 kB / 0.7307 GB, free: 3.434 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.701e-05/0.003841, allocations: 1.094 kB / 0.7307 GB, free: 3.434 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/0.003842, allocations: 0 / 0.7307 GB, free: 3.434 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.003859, allocations: 0 / 0.7307 GB, free: 3.434 MB / 0.698 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.0004301/0.004289, allocations: 236.6 kB / 0.7309 GB, free: 3.176 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.00433, allocations: 12.03 kB / 0.7309 GB, free: 3.164 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.004377, allocations: 5.438 kB / 0.7309 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.004504, allocations: 114.3 kB / 0.731 GB, free: 3.023 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.004516, allocations: 384 / 0.731 GB, free: 3.023 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.004554, allocations: 5.094 kB / 0.731 GB, free: 3.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.004668, allocations: 64.5 kB / 0.7311 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.004676, allocations: 0.7812 kB / 0.7311 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-06/0.004686, allocations: 4.359 kB / 0.7311 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.004694, allocations: 5.5 kB / 0.7311 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.609e-05/0.00473, allocations: 11.92 kB / 0.7311 GB, free: 2.926 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.004862, allocations: 66.58 kB / 0.7312 GB, free: 2.848 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.467e-05/0.004956, allocations: 35.47 kB / 0.7312 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.334e-05/0.00498, allocations: 18.56 kB / 0.7312 GB, free: 2.785 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003669/0.005346, allocations: 59.11 kB / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.005384, allocations: 34.56 kB / 0.7313 GB, free: 2.688 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 2.224e-06/0.005386, allocations: 0 / 0.7313 GB, free: 2.688 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.001259/0.006646, allocations: 481.1 kB / 0.7318 GB, free: 2.148 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.006683, allocations: 59.34 kB / 0.7318 GB, free: 2.078 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/0.006747, allocations: 95.38 kB / 0.7319 GB, free: 1.973 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.006762, allocations: 30.83 kB / 0.732 GB, free: 1.938 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.006793, allocations: 80.14 kB / 0.732 GB, free: 1.855 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.006837, allocations: 31.72 kB / 0.7321 GB, free: 1.824 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.006879, allocations: 22.31 kB / 0.7321 GB, free: 1.797 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.006993, allocations: 324 kB / 0.7324 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.007009, allocations: 4 kB / 0.7324 GB, free: 1.469 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/0.007028, allocations: 8.938 kB / 0.7324 GB, free: 1.461 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.089e-05/0.007079, allocations: 20.84 kB / 0.7324 GB, free: 1.438 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.00708, allocations: 1.219 kB / 0.7324 GB, free: 1.438 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001002/0.00718, allocations: 65.59 kB / 0.7325 GB, free: 1.367 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.007198, allocations: 4 kB / 0.7325 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.007205, allocations: 1.703 kB / 0.7325 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.007223, allocations: 4 kB / 0.7325 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.007303, allocations: 12 kB / 0.7325 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.007306, allocations: 0.9062 kB / 0.7325 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.007327, allocations: 7.922 kB / 0.7325 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.007333, allocations: 1.688 kB / 0.7325 GB, free: 1.34 MB / 0.698 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 7.036e-05/0.007404, allocations: 113.8 kB / 0.7326 GB, free: 1.219 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.007418, allocations: 5.375 kB / 0.7326 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.007553, allocations: 61.58 kB / 0.7327 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.007558, allocations: 4 kB / 0.7327 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.00756, allocations: 1.25 kB / 0.7327 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.007565, allocations: 0 / 0.7327 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.007678, allocations: 81.81 kB / 0.7328 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.00768, allocations: 0.7656 kB / 0.7328 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.688e-05/0.007757, allocations: 13.19 kB / 0.7328 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.007768, allocations: 7.984 kB / 0.7328 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.007771, allocations: 0 / 0.7328 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.007778, allocations: 1.25 kB / 0.7328 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.00778, allocations: 0 / 0.7328 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007782, allocations: 0 / 0.7328 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.007934, allocations: 94.89 kB / 0.7329 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.007947, allocations: 4 kB / 0.7329 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.007979, allocations: 3.984 kB / 0.7329 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.007998, allocations: 8.703 kB / 0.7329 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.008006, allocations: 9.562 kB / 0.7329 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.55e-05/0.008021, allocations: 4.859 kB / 0.7329 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.008021, allocations: 0 / 0.7329 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002207/0.008242, allocations: 31.92 kB / 0.7329 GB, free: 0.8555 MB / 0.698 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.0002599/0.008502, allocations: 116.4 kB / 0.7331 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.008622, allocations: 42.27 kB / 0.7331 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.008631, allocations: 0.7656 kB / 0.7331 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.725e-05/0.008678, allocations: 33.77 kB / 0.7331 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/0.008786, allocations: 11.95 kB / 0.7331 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.009137, allocations: 142.4 kB / 0.7333 GB, free: 500 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.38e-05/0.009181, allocations: 66.83 kB / 0.7333 GB, free: 420 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.476e-05/0.009225, allocations: 4 kB / 0.7333 GB, free: 416 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.009285, allocations: 55.38 kB / 0.7334 GB, free: 360 kB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/0.009285, allocations: 0 / 0.7334 GB, free: 360 kB / 0.698 GB Notification: Performance of Templates: time 0.003869/0.01315, allocations: 0.9959 MB / 0.7344 GB, free: 15.4 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck/Buildings_12_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: 4.882825570181012]