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.001702/0.001702, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001962/0.001962, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.553/1.553, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.671/2.671, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 176] 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.001957/0.001957, allocations: 63.89 kB / 1.057 GB, free: 2.004 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3711, allocations: 160.7 MB / 1.214 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003309/0.3744, allocations: 1.435 MB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00061/0.375, allocations: 200.2 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.375, allocations: 0 / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.3751, allocations: 3.938 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.722e-05/0.3751, allocations: 0 / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.3754, allocations: 39.84 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.036e-05/0.3755, allocations: 19.98 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3756, allocations: 7.984 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.688e-05/0.3757, allocations: 11.98 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.3757, allocations: 11.92 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3758, allocations: 4 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3759, allocations: 31.97 kB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.3759, allocations: 4 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.3759, allocations: 11.94 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.3761, allocations: 55.73 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3761, allocations: 0 / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3761, allocations: 0 / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3761, allocations: 0 / 1.216 GB, free: 15.12 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.0005768/0.3767, allocations: 347.4 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3767, allocations: 8.031 kB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.3767, allocations: 8.891 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.3769, allocations: 172.3 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3769, allocations: 384 / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.3769, allocations: 384 / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3771, allocations: 50.23 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3771, allocations: 192 / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3772, allocations: 3.938 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3772, allocations: 7.938 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.3774, allocations: 39.89 kB / 1.216 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.3778, allocations: 253 kB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.378, allocations: 42.56 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.501e-05/0.3781, allocations: 20.84 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.3782, allocations: 81.11 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.3782, allocations: 38.55 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3782, allocations: 0 / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0005027/0.3787, allocations: 81.55 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.3788, allocations: 55.52 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3789, allocations: 101.9 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.379, allocations: 29.7 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.3791, allocations: 84.14 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.3791, allocations: 7.938 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.3791, allocations: 13.72 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3793, allocations: 314.8 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.615e-05/0.3794, allocations: 11.98 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-05/0.3795, allocations: 23.98 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.3796, allocations: 40.75 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3796, allocations: 0 / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002139/0.3799, allocations: 69.59 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3799, allocations: 8.094 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3799, allocations: 4 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3799, allocations: 0 / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.048e-05/0.38, allocations: 4 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.38, allocations: 3.984 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.38, allocations: 4 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.38, allocations: 4 kB / 1.218 GB, free: 12.98 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 0.0001026/0.3801, allocations: 113.8 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.3802, allocations: 0 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.3804, allocations: 88.66 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3804, allocations: 0 / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3804, allocations: 0 / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3804, allocations: 0 / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.3806, allocations: 161.6 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3806, allocations: 4.188 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.3807, allocations: 15.92 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3807, allocations: 0 / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3807, allocations: 4.031 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3807, allocations: 4 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3807, allocations: 0 / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.381, allocations: 167.4 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.381, allocations: 77.11 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.3811, allocations: 0 / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.3811, allocations: 12.02 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.3812, allocations: 0 / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.3812, allocations: 4 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.784e-05/0.3812, allocations: 87.27 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3812, allocations: 0 / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002286/0.3815, allocations: 11.94 kB / 1.218 GB, free: 12.14 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.0001938/0.3817, allocations: 107.2 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.3819, allocations: 39.95 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3819, allocations: 0 / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.229e-05/0.382, allocations: 23.92 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3823, allocations: 3.938 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.3826, allocations: 131.1 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.383, allocations: 0.6808 MB / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.383, allocations: 11.44 kB / 1.219 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.383, allocations: 0 / 1.219 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of Templates: time 0.002621/0.3856, allocations: 0.6645 MB / 1.22 GB, free: 10.41 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.759958158014342]