Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00176/0.00176, allocations: 110 kB / 18.93 MB, free: 2.945 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.00222/0.00222, allocations: 193.3 kB / 22.23 MB, free: 5.156 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.43/1.43, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.176/3.176, allocations: 495.7 MB / 0.7831 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 64.08 kB / 1.137 GB, free: 33.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4041, allocations: 173.6 MB / 1.307 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002709/0.4068, allocations: 1.465 MB / 1.308 GB, free: 480 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004433/0.4073, allocations: 199.3 kB / 1.309 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.4073, allocations: 0 / 1.309 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.4073, allocations: 4 kB / 1.309 GB, free: 276 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.34e-05/0.4074, allocations: 7.938 kB / 1.309 GB, free: 268 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.4076, allocations: 35.91 kB / 1.309 GB, free: 232 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.075e-05/0.4077, allocations: 23.92 kB / 1.309 GB, free: 208 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.379e-05/0.4078, allocations: 4 kB / 1.309 GB, free: 204 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.4078, allocations: 19.91 kB / 1.309 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.851e-05/0.4079, allocations: 4 kB / 1.309 GB, free: 180 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.4079, allocations: 0 / 1.309 GB, free: 180 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.172e-05/0.408, allocations: 39.95 kB / 1.309 GB, free: 140 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.408, allocations: 7.938 kB / 1.309 GB, free: 132 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.408, allocations: 11.94 kB / 1.309 GB, free: 120 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.4082, allocations: 39.88 kB / 1.309 GB, free: 80 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4082, allocations: 0 / 1.309 GB, free: 80 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4082, allocations: 0 / 1.309 GB, free: 80 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.4082, allocations: 0 / 1.309 GB, free: 80 kB / 0.9981 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.0005104/0.4087, allocations: 270.2 kB / 1.309 GB, free: 15.78 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.4087, allocations: 8.031 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.4088, allocations: 8.922 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.4089, allocations: 110.4 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.4089, allocations: 12.38 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.4089, allocations: 384 / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.4091, allocations: 50.23 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.4091, allocations: 192 / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.4091, allocations: 3.938 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.4091, allocations: 0 / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.4093, allocations: 31.97 kB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.4096, allocations: 224 kB / 1.309 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.4098, allocations: 42.44 kB / 1.309 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.828e-05/0.4099, allocations: 24.91 kB / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.967e-05/0.4099, allocations: 3.984 kB / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.4099, allocations: 38.56 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4099, allocations: 0 / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003817/0.4103, allocations: 81.58 kB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.4104, allocations: 55.41 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.4105, allocations: 97.86 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4105, allocations: 25.7 kB / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.4105, allocations: 92.25 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.4105, allocations: 7.953 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.4106, allocations: 13.66 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4107, allocations: 314.8 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-05/0.4108, allocations: 19.97 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.4109, allocations: 11.98 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.411, allocations: 40.89 kB / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.411, allocations: 0 / 1.31 GB, free: 14.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002114/0.4112, allocations: 81.52 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4113, allocations: 6.5 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4113, allocations: 0 / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4113, allocations: 4 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/0.4114, allocations: 7.984 kB / 1.31 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4114, allocations: 7.969 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.4114, allocations: 4 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.4114, allocations: 0 / 1.31 GB, free: 14.23 MB / 1.014 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 9.033e-05/0.4115, allocations: 122.5 kB / 1.311 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.4115, allocations: 3.953 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.4118, allocations: 72.97 kB / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4118, allocations: 4.031 kB / 1.311 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4118, allocations: 4.188 kB / 1.311 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4118, allocations: 0 / 1.311 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.412, allocations: 136.7 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.412, allocations: 4 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.412, allocations: 4 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.412, allocations: 0 / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.412, allocations: 0 / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.412, allocations: 0 / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.412, allocations: 7.984 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.4123, allocations: 163.5 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-06/0.4123, allocations: 3.984 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.4123, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.4124, allocations: 4 kB / 1.311 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.4124, allocations: 7.984 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.4124, allocations: 8.031 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.633e-05/0.4125, allocations: 79.28 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.4125, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002397/0.4127, allocations: 15.88 kB / 1.311 GB, free: 13.52 MB / 1.014 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.000187/0.4129, allocations: 115.2 kB / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.4131, allocations: 31.97 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4131, allocations: 4.062 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.08e-05/0.4132, allocations: 15.98 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.4135, allocations: 19.86 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.4138, allocations: 105.5 kB / 1.311 GB, free: 13.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.4141, allocations: 0.6767 MB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.4141, allocations: 0 / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.4142, allocations: 11.5 kB / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.4142, allocations: 4 kB / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of Templates: time 0.003279/0.4174, allocations: 0.5923 MB / 1.313 GB, free: 11.89 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.75184640660882]