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.001876/0.001876, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001929/0.001929, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.554/1.554, allocations: 177.1 MB / 203.9 MB, free: 5.629 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 3.059/3.059, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.134e-06/2.134e-06, allocations: 0 / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.226e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.004568/0.0046, allocations: 1.47 MB / 0.8123 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007639/0.005364, allocations: 179.5 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.005408, allocations: 0 / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.005444, allocations: 5.469 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.745e-05/0.005511, allocations: 0 / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.005891, allocations: 47.77 kB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.362e-05/0.005984, allocations: 24.98 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.006087, allocations: 0 / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.912e-05/0.006166, allocations: 15.98 kB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/0.006218, allocations: 12.59 kB / 0.8125 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.00624, allocations: 4 kB / 0.8125 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.006379, allocations: 29.38 kB / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.006407, allocations: 7.938 kB / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.006432, allocations: 4 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.006619, allocations: 47.86 kB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.006623, allocations: 0.6875 kB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.92e-07/0.006624, allocations: 0.9062 kB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.006629, allocations: 0 / 0.8126 GB, free: 264 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.0007328/0.007362, allocations: 372.8 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.007408, allocations: 8.031 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.007466, allocations: 5.812 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.007636, allocations: 108.6 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.007652, allocations: 1.625 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.007669, allocations: 4.375 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.007907, allocations: 46.25 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.007926, allocations: 6.078 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.007938, allocations: 384 / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.007943, allocations: 4.312 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.008154, allocations: 31.86 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.008669, allocations: 247.8 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.008851, allocations: 44.16 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.008953, allocations: 25.27 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.393e-05/0.009027, allocations: 0 / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/0.009086, allocations: 41.39 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.009088, allocations: 0 / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0004869/0.009574, allocations: 74.52 kB / 0.8136 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.009647, allocations: 52.16 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.009859, allocations: 165.9 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.009892, allocations: 26.55 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.01012, allocations: 130.9 kB / 0.8139 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.01014, allocations: 9.703 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/0.01021, allocations: 15.38 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004298/0.01064, allocations: 0.4884 MB / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.835e-05/0.01074, allocations: 7.984 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.169e-05/0.01083, allocations: 16.61 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.01102, allocations: 36.3 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01103, allocations: 0.5625 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000269/0.0113, allocations: 54.81 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.01132, allocations: 4 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.01133, allocations: 4.469 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.01134, allocations: 0 / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.01146, allocations: 5.281 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.01147, allocations: 0 / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.711e-05/0.01154, allocations: 11.92 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-06/0.01155, allocations: 1.344 kB / 0.8146 GB, free: 14.05 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 0.0001741/0.01172, allocations: 160.6 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.01177, allocations: 4.859 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.01208, allocations: 70.61 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01209, allocations: 0 / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.01209, allocations: 4 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.0121, allocations: 0 / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.01236, allocations: 116.6 kB / 0.8149 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01236, allocations: 0.8125 kB / 0.8149 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/0.01245, allocations: 11.94 kB / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.01245, allocations: 0.9375 kB / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.01246, allocations: 0 / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.01247, allocations: 7.922 kB / 0.8149 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01247, allocations: 1.344 kB / 0.8149 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.01287, allocations: 207.9 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.01295, allocations: 8.797 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.01297, allocations: 0 / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.01309, allocations: 5.906 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.01314, allocations: 7.984 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.01315, allocations: 0 / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001222/0.01327, allocations: 127.2 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.91e-07/0.01327, allocations: 0 / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004403/0.01371, allocations: 8.75 kB / 0.8153 GB, free: 13.26 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.0002528/0.01397, allocations: 110.7 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.01424, allocations: 35.67 kB / 0.8154 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.01424, allocations: 0 / 0.8154 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.01437, allocations: 23.61 kB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.01478, allocations: 14.59 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.01522, allocations: 118.3 kB / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.01533, allocations: 67.95 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.01536, allocations: 2.031 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.0154, allocations: 8.5 kB / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01541, allocations: 0 / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of Templates: time 0.005477/0.02088, allocations: 0.6177 MB / 0.8163 GB, free: 12.23 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] 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.990753125981428]