Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 249.4 MB, free: 3.285 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.91 kB / 1.107 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9899/0.9919, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001682/0.9936, allocations: 0.617 MB / 1.273 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003842/0.9939, allocations: 160 kB / 1.273 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.994, allocations: 0.625 kB / 1.273 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.174e-05/0.994, allocations: 0 / 1.273 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.636e-05/0.994, allocations: 0.8438 kB / 1.273 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.9943, allocations: 42.23 kB / 1.273 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.775e-05/0.9944, allocations: 13.84 kB / 1.273 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.9944, allocations: 6.312 kB / 1.273 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.709e-05/0.9944, allocations: 7.766 kB / 1.273 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.9945, allocations: 13.09 kB / 1.273 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.9945, allocations: 5.469 kB / 1.273 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.9946, allocations: 32.69 kB / 1.273 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.9946, allocations: 1.703 kB / 1.273 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.9946, allocations: 11.77 kB / 1.273 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.9947, allocations: 29 kB / 1.273 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.9947, allocations: 0.875 kB / 1.273 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9947, allocations: 3.938 kB / 1.273 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.9947, allocations: 0.5625 kB / 1.273 GB, free: 7.363 MB / 0.9981 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.0003267/0.9951, allocations: 330.2 kB / 1.273 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.9951, allocations: 13.78 kB / 1.273 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.9951, allocations: 3.078 kB / 1.273 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.504e-05/0.9952, allocations: 162.3 kB / 1.273 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.9952, allocations: 1.156 kB / 1.273 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.9952, allocations: 6.781 kB / 1.273 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.9953, allocations: 46.75 kB / 1.273 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.9953, allocations: 192 / 1.273 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.9953, allocations: 4.719 kB / 1.273 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.9953, allocations: 0.8438 kB / 1.273 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.648e-05/0.9954, allocations: 19.67 kB / 1.273 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.9955, allocations: 158.2 kB / 1.274 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.667e-05/0.9956, allocations: 43.03 kB / 1.274 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.9956, allocations: 23.22 kB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.871e-05/0.9957, allocations: 81.22 kB / 1.274 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.9957, allocations: 35.41 kB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.9957, allocations: 7.984 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.001202/0.9969, allocations: 489.4 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.997, allocations: 53.22 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.932e-05/0.997, allocations: 92.09 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.997, allocations: 30.52 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.256e-05/0.997, allocations: 81.11 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.9971, allocations: 28.83 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.9971, allocations: 25.19 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.9971, allocations: 313.5 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.9972, allocations: 11.92 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/0.9972, allocations: 19.06 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.647e-05/0.9973, allocations: 31.08 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9973, allocations: 1.547 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.964e-05/0.9974, allocations: 79.38 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.9974, allocations: 9.344 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.9974, allocations: 3.938 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.9974, allocations: 5.125 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.9975, allocations: 13.31 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.9975, allocations: 7.875 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.9975, allocations: 0.9688 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.9975, allocations: 9.969 kB / 1.275 GB, free: 5.219 MB / 0.9981 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 4.33e-05/0.9976, allocations: 107.8 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.9976, allocations: 6 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.9977, allocations: 83.23 kB / 1.275 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9977, allocations: 1.031 kB / 1.275 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.9977, allocations: 0 / 1.275 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.9977, allocations: 2.703 kB / 1.275 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.931e-05/0.9978, allocations: 167 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9978, allocations: 0 / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.698e-05/0.9979, allocations: 15.88 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.9979, allocations: 4.812 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.9979, allocations: 2.391 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9979, allocations: 0.8125 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9979, allocations: 0.7188 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.9981, allocations: 117.9 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.9981, allocations: 83.94 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.9981, allocations: 0.9062 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.353e-05/0.9981, allocations: 2.062 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.9981, allocations: 9.141 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.9982, allocations: 6.312 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.445e-05/0.9982, allocations: 80.31 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9982, allocations: 1.031 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002149/0.9984, allocations: 30.81 kB / 1.276 GB, free: 4.559 MB / 0.9981 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.0001972/0.9986, allocations: 132.4 kB / 1.276 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.9987, allocations: 30.36 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9987, allocations: 1.125 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.858e-05/0.9987, allocations: 28.59 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.9989, allocations: 5.844 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.9992, allocations: 163.8 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.512e-05/0.9993, allocations: 0.6816 MB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.435e-05/0.9993, allocations: 3.906 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.9993, allocations: 13.11 kB / 1.277 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.9993, allocations: 0.6875 kB / 1.277 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of Templates: time 0.003412/1.003, allocations: 0.904 MB / 1.278 GB, free: 3.488 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.013005406595767]