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.00173/0.00173, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002249/0.002249, allocations: 213.9 kB / 22.24 MB, free: 5.262 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.323/3.323, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 64.94 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3291, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001717/0.3308, allocations: 0.5975 MB / 1.326 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004303/0.3312, allocations: 159.8 kB / 1.326 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.3313, allocations: 0 / 1.326 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.3313, allocations: 7.938 kB / 1.326 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.322e-05/0.3313, allocations: 4 kB / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.3316, allocations: 31.91 kB / 1.326 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.343e-05/0.3316, allocations: 11.98 kB / 1.326 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.3317, allocations: 3.984 kB / 1.326 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.897e-05/0.3317, allocations: 8 kB / 1.326 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.3318, allocations: 7.938 kB / 1.326 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.3318, allocations: 0 / 1.326 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.3319, allocations: 31.97 kB / 1.326 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.3319, allocations: 7.969 kB / 1.326 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.3319, allocations: 11.88 kB / 1.326 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.332, allocations: 35.89 kB / 1.326 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.332, allocations: 8 kB / 1.326 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.312e-06/0.332, allocations: 0 / 1.326 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.332, allocations: 3.938 kB / 1.326 GB, free: 0.9648 MB / 1.014 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.0003715/0.3324, allocations: 258.3 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.3324, allocations: 8.031 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.3325, allocations: 4.891 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.3326, allocations: 106.5 kB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3326, allocations: 384 / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.3326, allocations: 4.375 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.3327, allocations: 71.95 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3327, allocations: 4.125 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3327, allocations: 7.938 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3328, allocations: 0 / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.107e-05/0.3328, allocations: 11.98 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.3329, allocations: 109.3 kB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.719e-05/0.333, allocations: 42.55 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.556e-05/0.3331, allocations: 20.97 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.975e-05/0.3331, allocations: 8 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3332, allocations: 34.56 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3332, allocations: 4 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.001211/0.3344, allocations: 419.1 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.3344, allocations: 51.41 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.3345, allocations: 89.86 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3345, allocations: 29.7 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.3345, allocations: 80.14 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.3346, allocations: 35.72 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.3346, allocations: 17.72 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3347, allocations: 314.8 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.3348, allocations: 16.11 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.167e-05/0.3348, allocations: 12 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.784e-05/0.3349, allocations: 37.08 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3349, allocations: 4 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00012/0.335, allocations: 73.61 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.335, allocations: 4 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.335, allocations: 3.938 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.335, allocations: 4 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-05/0.3351, allocations: 8 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3351, allocations: 0 / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.3351, allocations: 7.984 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.3351, allocations: 4 kB / 1.328 GB, free: 14.87 MB / 1.029 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.85e-05/0.3352, allocations: 114.4 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.3352, allocations: 3.953 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.3354, allocations: 93.44 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.3354, allocations: 0 / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3354, allocations: 7.875 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3354, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.653e-05/0.3355, allocations: 109.3 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3355, allocations: 192 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.801e-05/0.3356, allocations: 20 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3356, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.3356, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3356, allocations: 7.938 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3356, allocations: 3.984 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.3358, allocations: 109.1 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.3358, allocations: 11.97 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.3358, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.3359, allocations: 3.938 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.3359, allocations: 15.97 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.3359, allocations: 4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.3359, allocations: 79.34 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3359, allocations: 0 / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002133/0.3361, allocations: 27.94 kB / 1.329 GB, free: 14.19 MB / 1.029 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.000195/0.3363, allocations: 127.2 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.3364, allocations: 35.92 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3364, allocations: 4 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.538e-05/0.3365, allocations: 19.98 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.3366, allocations: 6.906 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.3369, allocations: 145.4 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.521e-05/0.337, allocations: 63.34 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.337, allocations: 4 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.3371, allocations: 15.44 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3371, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of Templates: time 0.003614/0.3407, allocations: 0.8755 MB / 1.33 GB, free: 12.86 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.275274731218815]