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.00209/0.00209, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002339/0.002339, allocations: 210 kB / 22.99 MB, free: 4.957 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.226/3.226, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.002145/0.002145, allocations: 67.53 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3924, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00195/0.3944, allocations: 0.6089 MB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004372/0.3948, allocations: 147.9 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.3948, allocations: 0 / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.3949, allocations: 3.938 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.185e-05/0.3949, allocations: 0 / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.3952, allocations: 35.89 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.3953, allocations: 15.98 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.3953, allocations: 0 / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.967e-05/0.3953, allocations: 11.88 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.995e-05/0.3954, allocations: 15.92 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.3954, allocations: 4 kB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-05/0.3955, allocations: 35.95 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.3955, allocations: 0 / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.3955, allocations: 11.94 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.3956, allocations: 35.88 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3956, allocations: 0 / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3956, allocations: 0 / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.3957, allocations: 0 / 1.328 GB, free: 36 kB / 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.00042/0.3961, allocations: 258.4 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3961, allocations: 12.03 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.3961, allocations: 8.891 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.3962, allocations: 102.5 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3963, allocations: 8.375 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.3963, allocations: 384 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.3964, allocations: 67.95 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3964, allocations: 4.172 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.3964, allocations: 7.938 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3964, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.283e-05/0.3965, allocations: 19.92 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.3967, allocations: 105.3 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3968, allocations: 46.62 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.3968, allocations: 16.98 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-05/0.3969, allocations: 4 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.3969, allocations: 34.55 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3969, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.001371/0.3983, allocations: 423.3 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.3983, allocations: 51.41 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.3984, allocations: 89.86 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3984, allocations: 29.7 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.3984, allocations: 84.27 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.3985, allocations: 31.73 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.3985, allocations: 21.72 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3987, allocations: 314.8 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.274e-05/0.3987, allocations: 12 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-05/0.3987, allocations: 15.98 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.001e-05/0.3988, allocations: 33.08 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3988, allocations: 3.938 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001242/0.3989, allocations: 73.67 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3989, allocations: 4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.399, allocations: 3.938 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.399, allocations: 4 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.3991, allocations: 15.98 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3991, allocations: 3.938 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.3991, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.3991, allocations: 7.938 kB / 1.33 GB, free: 13.92 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 9.383e-05/0.3992, allocations: 114.3 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.3992, allocations: 3.953 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.3994, allocations: 85.52 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3994, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3994, allocations: 4 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3994, allocations: 3.984 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.3995, allocations: 105.3 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3995, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.863e-05/0.3996, allocations: 15.98 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3996, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3996, allocations: 4 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3996, allocations: 3.938 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3996, allocations: 7.938 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.3998, allocations: 109.1 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.3999, allocations: 7.984 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3999, allocations: 8.062 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.081e-05/0.3999, allocations: 3.938 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.3999, allocations: 7.984 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.4, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.4, allocations: 79.28 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002373/0.4002, allocations: 31.94 kB / 1.33 GB, free: 13.25 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.0002249/0.4005, allocations: 123.1 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.4006, allocations: 44.06 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4006, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.4006, allocations: 27.92 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.4008, allocations: 4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.4011, allocations: 145.4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.704e-05/0.4012, allocations: 63.34 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.68e-05/0.4013, allocations: 8.547 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.4013, allocations: 15.38 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4013, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of Templates: time 0.003903/0.4052, allocations: 0.8901 MB / 1.332 GB, free: 11.89 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 -s cvode -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/jenkins1/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.256053739998606]