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.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.001411/0.001411, allocations: 83.03 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00152/0.00152, allocations: 161.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.437/1.437, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.649/2.649, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.583e-06/1.583e-06, allocations: 0 / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/2.989e-05, allocations: 2.281 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001685/0.001715, allocations: 0.6134 MB / 0.9516 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004309/0.002146, allocations: 147.5 kB / 0.9518 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.002179, allocations: 0 / 0.9518 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.002192, allocations: 0 / 0.9518 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.466e-05/0.002216, allocations: 0 / 0.9518 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.002524, allocations: 39.83 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.016e-05/0.002584, allocations: 19.91 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.002623, allocations: 8 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.002656, allocations: 7.984 kB / 0.9518 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.002733, allocations: 4 kB / 0.9518 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.002751, allocations: 4 kB / 0.9518 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.619e-05/0.002848, allocations: 31.95 kB / 0.9519 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.002862, allocations: 3.984 kB / 0.9519 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.002881, allocations: 8 kB / 0.9519 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.002986, allocations: 43.75 kB / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.002988, allocations: 0 / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002988, allocations: 0 / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.002992, allocations: 0 / 0.9519 GB, free: 10.57 MB / 0.8575 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.0004099/0.003402, allocations: 262.3 kB / 0.9522 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.003443, allocations: 8.031 kB / 0.9522 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.00348, allocations: 4.938 kB / 0.9522 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.003596, allocations: 105.8 kB / 0.9523 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.003612, allocations: 4.375 kB / 0.9523 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.003632, allocations: 384 / 0.9523 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.003774, allocations: 71.95 kB / 0.9524 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.003783, allocations: 192 / 0.9524 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.003793, allocations: 384 / 0.9524 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.003801, allocations: 4.375 kB / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.141e-05/0.003852, allocations: 23.86 kB / 0.9524 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.004012, allocations: 109.3 kB / 0.9525 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.835e-05/0.00411, allocations: 38.56 kB / 0.9525 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.00415, allocations: 20.97 kB / 0.9525 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.497e-05/0.004225, allocations: 8 kB / 0.9526 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.004259, allocations: 30.56 kB / 0.9526 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.00426, allocations: 0 / 0.9526 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.001264/0.005524, allocations: 415.2 kB / 0.953 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.005575, allocations: 59.34 kB / 0.953 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.005657, allocations: 97.84 kB / 0.9531 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.005678, allocations: 25.7 kB / 0.9532 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.00572, allocations: 80.14 kB / 0.9532 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.005757, allocations: 27.75 kB / 0.9533 GB, free: 9 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.005799, allocations: 25.7 kB / 0.9533 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.005946, allocations: 318.8 kB / 0.9536 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.937e-05/0.005976, allocations: 12 kB / 0.9536 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.006001, allocations: 11.98 kB / 0.9536 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.797e-05/0.006079, allocations: 32.86 kB / 0.9536 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.006079, allocations: 0 / 0.9536 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000126/0.006205, allocations: 77.97 kB / 0.9537 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.006224, allocations: 11.98 kB / 0.9537 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.006228, allocations: 0 / 0.9537 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.006242, allocations: 0 / 0.9537 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.86e-05/0.00632, allocations: 12 kB / 0.9537 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.006329, allocations: 8 kB / 0.9537 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.006353, allocations: 0 / 0.9537 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.006362, allocations: 4 kB / 0.9537 GB, free: 8.473 MB / 0.8575 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 8.979e-05/0.006452, allocations: 109.8 kB / 0.9539 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.00647, allocations: 11.94 kB / 0.9539 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.006667, allocations: 85.58 kB / 0.9539 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006668, allocations: 4 kB / 0.9539 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.006674, allocations: 3.938 kB / 0.954 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.006678, allocations: 3.938 kB / 0.954 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.006789, allocations: 109.5 kB / 0.9541 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.006793, allocations: 4 kB / 0.9541 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-05/0.006876, allocations: 15.98 kB / 0.9541 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006878, allocations: 0 / 0.9541 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.006886, allocations: 0 / 0.9541 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006887, allocations: 0 / 0.9541 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006888, allocations: 0 / 0.9541 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.007086, allocations: 125 kB / 0.9542 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.007094, allocations: 3.953 kB / 0.9542 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.007111, allocations: 4.031 kB / 0.9542 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.71e-05/0.007158, allocations: 3.984 kB / 0.9542 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.007176, allocations: 4 kB / 0.9542 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.007195, allocations: 7.938 kB / 0.9542 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.007238, allocations: 75.28 kB / 0.9543 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.007238, allocations: 4 kB / 0.9543 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002281/0.007466, allocations: 31.92 kB / 0.9543 GB, free: 7.812 MB / 0.8575 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.0002342/0.007701, allocations: 147.2 kB / 0.9545 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.007821, allocations: 35.92 kB / 0.9545 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.007823, allocations: 0 / 0.9545 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-05/0.007854, allocations: 16 kB / 0.9545 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.008007, allocations: 4 kB / 0.9545 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.008359, allocations: 148.7 kB / 0.9547 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.956e-05/0.008419, allocations: 71.28 kB / 0.9547 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.603e-05/0.008455, allocations: 11.98 kB / 0.9547 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.008485, allocations: 12.5 kB / 0.9548 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.008485, allocations: 0 / 0.9548 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of Templates: time 0.003922/0.01241, allocations: 0.8739 MB / 0.9556 GB, free: 6.461 MB / 0.8575 GB " [Timeout remaining time 300] 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: 7.635356560349464]