Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.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.001435/0.001435, allocations: 110 kB / 18.94 MB, free: 2.789 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.001511/0.001511, allocations: 193.2 kB / 22.23 MB, free: 5.234 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.487/1.487, allocations: 225.6 MB / 251 MB, free: 13 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.821/2.821, allocations: 476.7 MB / 0.7646 GB, free: 9.871 MB / 0.6231 GB " [Timeout remaining time 177] 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.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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 71.88 kB / 1.11 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8096/0.8116, allocations: 168.8 MB / 1.274 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002964/0.8146, allocations: 1.477 MB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.8157, allocations: 0.5704 MB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.8158, allocations: 0 / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.8158, allocations: 0 / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.458e-05/0.8158, allocations: 15.81 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.8161, allocations: 47.88 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.258e-05/0.8162, allocations: 27.86 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.8163, allocations: 8 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.8164, allocations: 7.938 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.8165, allocations: 19.91 kB / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.8165, allocations: 4 kB / 1.276 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.8166, allocations: 55.95 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.8166, allocations: 4 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.8167, allocations: 15.88 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.8168, allocations: 66.19 kB / 1.277 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.8168, allocations: 0 / 1.277 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8168, allocations: 0 / 1.277 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8168, allocations: 0 / 1.277 GB, free: 1.816 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.0004753/0.8173, allocations: 282 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.8173, allocations: 8.031 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.8174, allocations: 4.938 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.8175, allocations: 118.4 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.8175, allocations: 12.38 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.8175, allocations: 384 / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.8177, allocations: 45.98 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.8177, allocations: 0 / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.8177, allocations: 4 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8177, allocations: 0 / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.134e-05/0.8178, allocations: 19.98 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.8181, allocations: 224 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.8182, allocations: 34.52 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.8183, allocations: 16.91 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006813/0.819, allocations: 91.88 kB / 1.277 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.819, allocations: 34.56 kB / 1.277 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.819, allocations: 0 / 1.277 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002658/0.8193, allocations: 69.56 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.8193, allocations: 51.41 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.8194, allocations: 109.8 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.8194, allocations: 25.7 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.8195, allocations: 96.19 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.8195, allocations: 7.953 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.8195, allocations: 13.72 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.8197, allocations: 310.8 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.8197, allocations: 11.98 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/0.8198, allocations: 8 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.509e-05/0.8198, allocations: 32.84 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8198, allocations: 0 / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001429/0.82, allocations: 61.61 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.82, allocations: 4 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.82, allocations: 4 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.82, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.265e-05/0.8201, allocations: 8 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.8201, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.8201, allocations: 3.984 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.8201, allocations: 11.97 kB / 1.278 GB, free: 15.94 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 8.854e-05/0.8202, allocations: 113.7 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.8203, allocations: 7.953 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.8204, allocations: 61.3 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.8204, allocations: 0 / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.8204, allocations: 3.938 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.8204, allocations: 0 / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.8206, allocations: 136.7 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8206, allocations: 4.031 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.8207, allocations: 4 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8207, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.8207, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8207, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8207, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.8209, allocations: 155.5 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-06/0.8209, allocations: 7.984 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.8209, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.821, allocations: 8 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.821, allocations: 7.984 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.821, allocations: 0 / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.465e-05/0.8211, allocations: 83.28 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8211, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002394/0.8213, allocations: 27.86 kB / 1.279 GB, free: 15.26 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.0001681/0.8215, allocations: 115.2 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.8216, allocations: 19.98 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8216, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.8e-05/0.8217, allocations: 11.98 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.8219, allocations: 7.938 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.8222, allocations: 126.8 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.8225, allocations: 0.6808 MB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.8225, allocations: 7.938 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.8226, allocations: 7.438 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.8226, allocations: 0 / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.003324/0.8259, allocations: 0.6885 MB / 1.28 GB, free: 13.54 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.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.698177450336516]