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.001614/0.001614, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002008/0.002008, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.515/1.515, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.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.92/2.92, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 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.00205/0.00205, allocations: 63.89 kB / 1.109 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9479/0.95, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001735/0.9517, allocations: 0.6055 MB / 1.275 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004629/0.9522, allocations: 167.3 kB / 1.275 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.9522, allocations: 0 / 1.275 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.9522, allocations: 3.938 kB / 1.275 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.584e-05/0.9522, allocations: 0 / 1.275 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.9525, allocations: 39.89 kB / 1.275 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.793e-05/0.9526, allocations: 15.98 kB / 1.275 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.9526, allocations: 4 kB / 1.275 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.163e-05/0.9527, allocations: 4 kB / 1.275 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.894e-05/0.9527, allocations: 19.91 kB / 1.275 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.9527, allocations: 4 kB / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.703e-05/0.9528, allocations: 31.97 kB / 1.275 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.9528, allocations: 0 / 1.275 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.9529, allocations: 11.94 kB / 1.275 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.953, allocations: 30.61 kB / 1.275 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.953, allocations: 0 / 1.275 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/0.953, allocations: 0 / 1.275 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.953, allocations: 0 / 1.275 GB, free: 3.613 MB / 0.9669 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.0004311/0.9534, allocations: 339.3 kB / 1.275 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.9534, allocations: 15.91 kB / 1.275 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.9535, allocations: 8.938 kB / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.9536, allocations: 160.4 kB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.9536, allocations: 384 / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.9537, allocations: 8.375 kB / 1.276 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.9538, allocations: 42.25 kB / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.9538, allocations: 4.172 kB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.9538, allocations: 3.938 kB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.9538, allocations: 3.984 kB / 1.276 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.374e-05/0.9538, allocations: 12 kB / 1.276 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.954, allocations: 161.6 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.9541, allocations: 50.56 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.9542, allocations: 16.97 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.9543, allocations: 81.11 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.9543, allocations: 30.56 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.9543, allocations: 0 / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.001277/0.9556, allocations: 0.4923 MB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.9556, allocations: 55.41 kB / 1.276 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.9557, allocations: 89.86 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.9557, allocations: 25.7 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.9558, allocations: 84.14 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.9558, allocations: 23.78 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.9558, allocations: 21.84 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.956, allocations: 318.8 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.956, allocations: 11.98 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.956, allocations: 12 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.808e-05/0.9561, allocations: 37.08 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.9561, allocations: 0 / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001144/0.9562, allocations: 81.55 kB / 1.277 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.9562, allocations: 11.94 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.9562, allocations: 0 / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.9562, allocations: 0 / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.545e-05/0.9563, allocations: 19.94 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.9563, allocations: 0 / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.9563, allocations: 3.984 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.9564, allocations: 0 / 1.277 GB, free: 1.109 MB / 0.9669 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.924e-05/0.9564, allocations: 113.8 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.9564, allocations: 3.938 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.9566, allocations: 85.58 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.9566, allocations: 256 / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.9566, allocations: 4 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.9566, allocations: 4 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.9568, allocations: 165.6 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9568, allocations: 4 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.9568, allocations: 12 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.9568, allocations: 7.938 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.9568, allocations: 0 / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9568, allocations: 3.938 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.9568, allocations: 0 / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.957, allocations: 117 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.9571, allocations: 89.06 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.9571, allocations: 4 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.189e-05/0.9571, allocations: 0 / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.9571, allocations: 4 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.9572, allocations: 4 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.022e-05/0.9572, allocations: 79.27 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.9572, allocations: 0 / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002185/0.9574, allocations: 36.09 kB / 1.278 GB, free: 292 kB / 0.9669 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.0002203/0.9576, allocations: 135.7 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.9578, allocations: 31.92 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9578, allocations: 0 / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.229e-05/0.9578, allocations: 20 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.9579, allocations: 11.92 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.9583, allocations: 157.5 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.9586, allocations: 0.6885 MB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.9586, allocations: 11.92 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.9586, allocations: 11.44 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.9586, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of Templates: time 0.00338/0.962, allocations: 0.8981 MB / 1.28 GB, free: 14.27 MB / 0.9825 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.017743363045156]