Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.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.001592/0.001592, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001748/0.001748, allocations: 216.5 kB / 22.99 MB, free: 4.945 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.282/3.282, allocations: 0.4892 GB / 0.7951 GB, free: 35.68 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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") [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.002859/0.002859, allocations: 62.22 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3987, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002687/0.4014, allocations: 1.465 MB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004355/0.4019, allocations: 175.5 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.4019, allocations: 4 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.4019, allocations: 3.938 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.402, allocations: 0 / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.4022, allocations: 43.83 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.353e-05/0.4023, allocations: 23.98 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.4024, allocations: 7.984 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.872e-05/0.4024, allocations: 11.94 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.939e-05/0.4025, allocations: 11.92 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.4025, allocations: 0 / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/0.4026, allocations: 39.91 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.4026, allocations: 3.984 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.4026, allocations: 7.938 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.4027, allocations: 39.88 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4027, allocations: 0 / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4027, allocations: 0 / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.4028, allocations: 0 / 1.328 GB, free: 44 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004668/0.4032, allocations: 270.4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.4033, allocations: 15.97 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.4033, allocations: 0.9375 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.4034, allocations: 118.4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.4034, allocations: 4.375 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.4035, allocations: 384 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.4036, allocations: 50.23 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.4036, allocations: 192 / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4037, allocations: 7.922 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4037, allocations: 8 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.4038, allocations: 35.89 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.4041, allocations: 192.6 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4042, allocations: 38.59 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.598e-05/0.4043, allocations: 16.91 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.039e-05/0.4044, allocations: 7.938 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.4044, allocations: 34.56 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4044, allocations: 4 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.00034/0.4048, allocations: 81.58 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.4048, allocations: 51.41 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.277e-05/0.4049, allocations: 105.8 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.4049, allocations: 29.64 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.405, allocations: 88.09 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.405, allocations: 4 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.405, allocations: 13.84 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002268/0.4052, allocations: 322.8 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.4053, allocations: 11.98 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.002e-05/0.4054, allocations: 15.98 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.4055, allocations: 44.75 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4055, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001948/0.4057, allocations: 73.62 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4057, allocations: 4 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4057, allocations: 4.25 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.4058, allocations: 0 / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.4058, allocations: 11.98 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.4058, allocations: 0 / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.4059, allocations: 7.984 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.4059, allocations: 7.938 kB / 1.33 GB, free: 14.21 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 (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 7.791e-05/0.406, allocations: 113.9 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.406, allocations: 3.938 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/0.4063, allocations: 80.89 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4063, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4064, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4064, allocations: 3.984 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.4065, allocations: 105.3 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4065, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.4066, allocations: 12.02 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.4066, allocations: 3.938 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.4066, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4066, allocations: 4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4066, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.4068, allocations: 163.4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-06/0.4068, allocations: 3.938 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.4069, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.4069, allocations: 12.02 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.407, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.407, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.407, allocations: 83.27 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.407, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002287/0.4072, allocations: 15.94 kB / 1.33 GB, free: 13.55 MB / 1.029 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.0001592/0.4074, allocations: 107.2 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.4076, allocations: 43.95 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4076, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.533e-05/0.4077, allocations: 27.86 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.408, allocations: 2.188 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.4083, allocations: 143.2 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.223e-05/0.4083, allocations: 59.34 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.4084, allocations: 7.438 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4084, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of Templates: time 0.00232/0.4107, allocations: 0.6769 MB / 1.331 GB, free: 12.43 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.467729232739657]