Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001678/0.001678, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002113/0.002113, allocations: 211.8 kB / 22.24 MB, free: 5.258 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.891/2.891, allocations: 475.9 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_11_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.0021/0.0021, allocations: 66.31 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.323, allocations: 170 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002717/0.3258, allocations: 1.458 MB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004545/0.3262, allocations: 183.6 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.3262, allocations: 0 / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.3263, allocations: 0 / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.3263, allocations: 7.938 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.3266, allocations: 48.88 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.416e-05/0.3267, allocations: 15.94 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.864e-05/0.3268, allocations: 11.98 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.199e-05/0.3268, allocations: 7.938 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.129e-05/0.3268, allocations: 15.92 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.3268, allocations: 0 / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.245e-05/0.3269, allocations: 35.95 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.327, allocations: 4 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.327, allocations: 7.938 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.3271, allocations: 43.86 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3271, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3271, allocations: 4 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3271, allocations: 3.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 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.0004488/0.3276, allocations: 266.3 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3276, allocations: 12.03 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.3276, allocations: 4.938 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3277, allocations: 122.3 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3277, allocations: 384 / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.3278, allocations: 384 / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3279, allocations: 50.23 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3279, allocations: 4.188 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.328, allocations: 3.938 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.328, allocations: 0 / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.3281, allocations: 35.95 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.3284, allocations: 196.5 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.3286, allocations: 38.59 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.968e-05/0.3287, allocations: 24.91 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/0.3287, allocations: 7.938 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.3288, allocations: 30.56 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3288, allocations: 0 / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003627/0.3291, allocations: 85.58 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.3292, allocations: 51.41 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.3293, allocations: 105.8 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3293, allocations: 25.7 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.3293, allocations: 88.27 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.3293, allocations: 7.953 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.3294, allocations: 13.7 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3295, allocations: 318.8 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.3296, allocations: 11.98 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.34e-05/0.3297, allocations: 15.98 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3298, allocations: 44.88 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3298, allocations: 0 / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002081/0.33, allocations: 73.5 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3301, allocations: 4 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3301, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3301, allocations: 3.984 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.111e-05/0.3302, allocations: 11.94 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3302, allocations: 0 / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.3302, allocations: 12.02 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.3302, allocations: 0 / 1.286 GB, free: 8.312 MB / 0.9825 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 7.866e-05/0.3303, allocations: 113.8 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.3303, allocations: 3.938 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.3306, allocations: 72.91 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3306, allocations: 0 / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3306, allocations: 3.984 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3306, allocations: 0 / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.3307, allocations: 105.6 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3307, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.3308, allocations: 19.92 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3308, allocations: 3.938 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3308, allocations: 0 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3308, allocations: 0 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3308, allocations: 0 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.331, allocations: 167.5 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.331, allocations: 11.92 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.331, allocations: 0 / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.3311, allocations: 7.984 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.3312, allocations: 8 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.3312, allocations: 0 / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.887e-05/0.3312, allocations: 87.2 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3312, allocations: 0 / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002391/0.3315, allocations: 11.94 kB / 1.287 GB, free: 7.648 MB / 0.9825 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.0001657/0.3316, allocations: 103.2 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.3319, allocations: 43.95 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3319, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.3319, allocations: 15.98 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3322, allocations: 4 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.3325, allocations: 109.4 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.968e-05/0.3325, allocations: 63.34 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.294e-05/0.3326, allocations: 8.062 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.3326, allocations: 7.438 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3326, allocations: 0 / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of Templates: time 0.003031/0.3356, allocations: 0.6186 MB / 1.288 GB, free: 6.637 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.96261846087873]