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.001665/0.001665, allocations: 111.1 kB / 16.46 MB, free: 6.453 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.001503/0.001503, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.485/1.485, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.275/3.275, allocations: 0.4899 GB / 0.7915 GB, free: 33.21 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.002081/0.002081, allocations: 67.16 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3409, allocations: 176.1 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002886/0.3438, allocations: 1.454 MB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000447/0.3442, allocations: 195.8 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.3442, allocations: 4 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.3443, allocations: 0 / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.3443, allocations: 11.92 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3446, allocations: 31.91 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.3447, allocations: 27.86 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3448, allocations: 11.98 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.3448, allocations: 4 kB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.168e-05/0.3448, allocations: 19.91 kB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.3449, allocations: 0 / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.923e-05/0.3449, allocations: 31.97 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.345, allocations: 8 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.345, allocations: 7.938 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.3451, allocations: 47.8 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3451, allocations: 4 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3451, allocations: 0 / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3451, allocations: 0 / 1.323 GB, free: 0.9727 MB / 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.0005371/0.3457, allocations: 339.4 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3457, allocations: 11.98 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.3457, allocations: 8.938 kB / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.3459, allocations: 176.3 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3459, allocations: 4.312 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.3459, allocations: 4.375 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.3461, allocations: 46.23 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3461, allocations: 192 / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3461, allocations: 7.938 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3461, allocations: 0 / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.3463, allocations: 35.95 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.3466, allocations: 249 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.3468, allocations: 42.44 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.3469, allocations: 20.91 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.347, allocations: 89.08 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.347, allocations: 34.56 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.347, allocations: 0 / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003779/0.3474, allocations: 81.59 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.3475, allocations: 63.27 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.3475, allocations: 101.9 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3476, allocations: 25.83 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.3476, allocations: 88.09 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.3476, allocations: 7.984 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.3477, allocations: 13.72 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3478, allocations: 310.8 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.829e-05/0.3479, allocations: 15.98 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.348, allocations: 19.97 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3482, allocations: 44.89 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3482, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002269/0.3484, allocations: 69.55 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3484, allocations: 11.94 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3484, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3484, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.3485, allocations: 8.031 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3485, allocations: 7.984 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.3486, allocations: 4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.3486, allocations: 0 / 1.325 GB, free: 14.82 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 9.529e-05/0.3487, allocations: 109.8 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.3487, allocations: 8 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.3489, allocations: 72.77 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3489, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.3489, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.3489, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.3491, allocations: 161.6 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3491, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-05/0.3492, allocations: 12.17 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3492, allocations: 0 / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3492, allocations: 8 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3492, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3492, allocations: 4.031 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.3495, allocations: 167.4 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.3495, allocations: 77.11 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.3495, allocations: 7.922 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.3496, allocations: 4 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.3496, allocations: 12.03 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.3496, allocations: 0 / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.643e-05/0.3497, allocations: 83.27 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3497, allocations: 0 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000232/0.3499, allocations: 11.94 kB / 1.326 GB, free: 14 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.0002313/0.3502, allocations: 107.2 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.3504, allocations: 43.83 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3504, allocations: 4.062 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.169e-05/0.3505, allocations: 15.98 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.3508, allocations: 11.94 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.3512, allocations: 117.3 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.3515, allocations: 0.6807 MB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.094e-05/0.3515, allocations: 0 / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.3516, allocations: 11.5 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3516, allocations: 0 / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of Templates: time 0.003007/0.3546, allocations: 0.5777 MB / 1.327 GB, free: 12.38 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/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: 8.862382049206644]