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.001946/0.001946, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.00247/0.00247, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.851/2.851, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.01e-05, allocations: 3.031 kB / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.00279/0.00282, allocations: 1.467 MB / 0.8122 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000466/0.003286, allocations: 187.5 kB / 0.8124 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.003323, allocations: 0.6875 kB / 0.8124 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.00335, allocations: 4.844 kB / 0.8124 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.966e-05/0.003399, allocations: 3.938 kB / 0.8124 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.00368, allocations: 36.5 kB / 0.8125 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.103e-05/0.003751, allocations: 23.92 kB / 0.8125 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.33e-05/0.003835, allocations: 8.859 kB / 0.8125 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.003894, allocations: 15.92 kB / 0.8125 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.484e-05/0.003929, allocations: 9.234 kB / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.003945, allocations: 4 kB / 0.8125 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.531e-05/0.00404, allocations: 31.97 kB / 0.8126 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.004053, allocations: 1.469 kB / 0.8126 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.004081, allocations: 8 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.004218, allocations: 47.86 kB / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.004222, allocations: 0 / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004223, allocations: 1.5 kB / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.004227, allocations: 0 / 0.8126 GB, free: 228 kB / 0.7605 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.0005661/0.004793, allocations: 270.2 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.004838, allocations: 13.42 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.004889, allocations: 4.938 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.005021, allocations: 105.8 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.005037, allocations: 4.375 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.00505, allocations: 4.938 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.005245, allocations: 51.33 kB / 0.813 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.005254, allocations: 192 / 0.813 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.005263, allocations: 384 / 0.813 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.005267, allocations: 1 kB / 0.813 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.005469, allocations: 37.88 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.005813, allocations: 196.6 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.005965, allocations: 38.5 kB / 0.8133 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.006071, allocations: 26.14 kB / 0.8133 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.006e-05/0.006141, allocations: 4 kB / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.006178, allocations: 35.91 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.006179, allocations: 0 / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0004376/0.006616, allocations: 83.33 kB / 0.8134 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.006667, allocations: 55.41 kB / 0.8135 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.006779, allocations: 105.8 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.006801, allocations: 26.45 kB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.006863, allocations: 84.14 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.006884, allocations: 8.672 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.006921, allocations: 13.72 kB / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002582/0.007179, allocations: 316.1 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.517e-05/0.007274, allocations: 19.97 kB / 0.814 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.207e-05/0.007366, allocations: 17.89 kB / 0.8141 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.00754, allocations: 36.83 kB / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.007542, allocations: 1.344 kB / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002118/0.007754, allocations: 66.62 kB / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.007769, allocations: 4 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.007776, allocations: 3.938 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.007796, allocations: 10.25 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.855e-05/0.007895, allocations: 15.97 kB / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.007901, allocations: 0 / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.583e-05/0.007956, allocations: 11.92 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.007962, allocations: 256 / 0.8142 GB, free: 14.43 MB / 0.7761 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.435e-05/0.008057, allocations: 113.3 kB / 0.8143 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.008084, allocations: 3.953 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.008352, allocations: 76.91 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.00836, allocations: 4 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.008364, allocations: 0 / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.008367, allocations: 0 / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.00852, allocations: 109.3 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008521, allocations: 0.7188 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.008582, allocations: 8.484 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.008584, allocations: 0.5625 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.008591, allocations: 3.938 kB / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.595e-06/0.008599, allocations: 12.48 kB / 0.8145 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.0086, allocations: 1.344 kB / 0.8145 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.008872, allocations: 155.5 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-06/0.008882, allocations: 4.594 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.008897, allocations: 4.812 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.008979, allocations: 7.922 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.00902, allocations: 4.938 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.009023, allocations: 0 / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.74e-05/0.009081, allocations: 80.59 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009081, allocations: 0 / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002563/0.009337, allocations: 15.98 kB / 0.8148 GB, free: 13.78 MB / 0.7761 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.0001921/0.009529, allocations: 115 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.00976, allocations: 39.89 kB / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.009761, allocations: 0 / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.931e-05/0.00985, allocations: 19.98 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.01018, allocations: 11.88 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.01051, allocations: 113.5 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.333e-05/0.01059, allocations: 59.34 kB / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.761e-05/0.01062, allocations: 5.031 kB / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.01064, allocations: 8.5 kB / 0.8151 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of SimCode: time 5.1e-07/0.01064, allocations: 1.125 kB / 0.8151 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of Templates: time 0.003376/0.01402, allocations: 0.6356 MB / 0.8158 GB, free: 12.76 MB / 0.7761 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/jenkins/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: 7.683746963972226]