Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.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.00161/0.00161, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001789/0.001789, allocations: 186 kB / 20.78 MB, free: 1.547 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.526/1.526, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.562/2.562, allocations: 443.4 MB / 0.7304 GB, free: 13.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 75.88 kB / 1.059 GB, free: 304 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2934, allocations: 160.7 MB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.00256/0.296, allocations: 1.453 MB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004429/0.2964, allocations: 196.2 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.2965, allocations: 0 / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.2965, allocations: 0 / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.333e-05/0.2965, allocations: 7.922 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.2968, allocations: 39.78 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.2968, allocations: 23.92 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.576e-05/0.2969, allocations: 15.98 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.297, allocations: 4 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.267e-05/0.297, allocations: 11.92 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.297, allocations: 4 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.404e-05/0.2971, allocations: 31.97 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.2971, allocations: 4 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.2971, allocations: 15.91 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.2972, allocations: 47.83 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2972, allocations: 0 / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2972, allocations: 0 / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.2973, allocations: 4 kB / 1.218 GB, free: 13.39 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004704/0.2977, allocations: 343.4 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2978, allocations: 8.031 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.2978, allocations: 4.891 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.2979, allocations: 176.2 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2979, allocations: 384 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.298, allocations: 8.359 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.2981, allocations: 58.17 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.2981, allocations: 192 / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2981, allocations: 3.938 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.2982, allocations: 4 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.2983, allocations: 27.97 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.2987, allocations: 248.9 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.2988, allocations: 46.5 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.614e-05/0.2989, allocations: 20.91 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.299, allocations: 85.09 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.299, allocations: 30.56 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.299, allocations: 0 / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003678/0.2994, allocations: 93.53 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.2994, allocations: 55.34 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.142e-05/0.2995, allocations: 97.86 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.2995, allocations: 29.7 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.2996, allocations: 88.11 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.2996, allocations: 7.953 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.2996, allocations: 13.72 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2998, allocations: 315 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.277e-05/0.2999, allocations: 15.98 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.2999, allocations: 19.97 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.3001, allocations: 36.83 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3001, allocations: 4 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002087/0.3003, allocations: 73.59 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3003, allocations: 8 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.3003, allocations: 0 / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3003, allocations: 0 / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.391e-05/0.3004, allocations: 7.984 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3004, allocations: 0 / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.3005, allocations: 4 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3005, allocations: 4 kB / 1.22 GB, free: 11.25 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 (2): * Single equations (assignments): 2 * 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.474e-05/0.3005, allocations: 121.8 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.3006, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.3008, allocations: 68.78 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3008, allocations: 3.938 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3008, allocations: 3.938 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3008, allocations: 0 / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.301, allocations: 169.5 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.301, allocations: 4.031 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.3011, allocations: 4 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3011, allocations: 0 / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3011, allocations: 4.25 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3011, allocations: 4 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.3011, allocations: 7.984 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.3013, allocations: 160.5 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.3014, allocations: 81.09 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.3014, allocations: 0 / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.3015, allocations: 8 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.3015, allocations: 3.984 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.3015, allocations: 4 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.3015, allocations: 79.28 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3015, allocations: 3.938 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002296/0.3018, allocations: 11.97 kB / 1.22 GB, free: 10.42 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000162/0.3019, allocations: 115.2 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.3021, allocations: 35.91 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3021, allocations: 0 / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.3022, allocations: 15.98 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.3025, allocations: 13.92 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.3028, allocations: 113.5 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.3031, allocations: 0.6806 MB / 1.221 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.3031, allocations: 4 kB / 1.221 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.3031, allocations: 7.438 kB / 1.221 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.3031, allocations: 0 / 1.221 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of Templates: time 0.003027/0.3062, allocations: 0.5822 MB / 1.222 GB, free: 8.793 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.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: 8.044841230846941]