Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.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.001805/0.001805, allocations: 111 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.002191/0.002191, allocations: 213.7 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.252/3.252, allocations: 0.4899 GB / 0.7915 GB, free: 33.39 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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") [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.002079/0.002079, allocations: 69.41 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3467, allocations: 176.1 MB / 1.321 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002711/0.3494, allocations: 1.486 MB / 1.323 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3505, allocations: 0.6272 MB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.3506, allocations: 0 / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.3506, allocations: 0 / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.3506, allocations: 7.875 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.351, allocations: 59.81 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.669e-05/0.3511, allocations: 23.92 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.051e-05/0.3511, allocations: 4 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3513, allocations: 31.84 kB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.3513, allocations: 19.86 kB / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.3513, allocations: 4 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.3515, allocations: 55.95 kB / 1.324 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.3515, allocations: 7.984 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.3515, allocations: 15.88 kB / 1.324 GB, free: 484 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.3517, allocations: 71.72 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3517, allocations: 0 / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of FrontEnd: time 3.677e-06/0.3517, allocations: 4 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3517, allocations: 0 / 1.324 GB, free: 408 kB / 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.0004921/0.3522, allocations: 351.2 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.3522, allocations: 12.41 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.3524, allocations: 8.922 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.3527, allocations: 184.3 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-06/0.3527, allocations: 384 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.3527, allocations: 384 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3528, allocations: 49.98 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3528, allocations: 3.938 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3528, allocations: 4 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3529, allocations: 0 / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.54e-05/0.3529, allocations: 23.92 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.3533, allocations: 248.9 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3534, allocations: 30.56 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.3535, allocations: 20.91 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008489/0.3543, allocations: 469.4 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.3543, allocations: 42.5 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3543, allocations: 0 / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002642/0.3546, allocations: 65.62 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3547, allocations: 51.41 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.3548, allocations: 114.1 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.3548, allocations: 25.7 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.3548, allocations: 96.11 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.3548, allocations: 4.047 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.3549, allocations: 13.66 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.355, allocations: 327 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.552e-05/0.3551, allocations: 7.938 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.733e-05/0.3551, allocations: 11.98 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.725e-05/0.3552, allocations: 28.8 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3552, allocations: 0 / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001246/0.3553, allocations: 53.67 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3553, allocations: 4.094 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3553, allocations: 12 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3553, allocations: 0 / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/0.3554, allocations: 4 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3554, allocations: 0 / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.3555, allocations: 7.938 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.3555, allocations: 7.984 kB / 1.326 GB, free: 13.84 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 8.37e-05/0.3555, allocations: 119.5 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.3556, allocations: 4 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.3557, allocations: 61.2 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3557, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3558, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3558, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.3559, allocations: 169.6 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3559, allocations: 0 / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.356, allocations: 7.938 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.356, allocations: 0 / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.356, allocations: 0 / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.356, allocations: 0 / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.356, allocations: 8.016 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.3562, allocations: 159.4 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.3562, allocations: 77.11 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.3562, allocations: 0 / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.385e-05/0.3563, allocations: 7.984 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.3563, allocations: 0 / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3563, allocations: 4.031 kB / 1.326 GB, free: 13.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.3564, allocations: 95.2 kB / 1.326 GB, free: 13.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3564, allocations: 0 / 1.326 GB, free: 13.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002344/0.3566, allocations: 15.94 kB / 1.326 GB, free: 13.02 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.0001699/0.3568, allocations: 111.2 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.3569, allocations: 27.92 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3569, allocations: 0 / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.357, allocations: 16.06 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.3572, allocations: 3.938 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.3575, allocations: 134.4 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3578, allocations: 0.6807 MB / 1.327 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.153e-05/0.3578, allocations: 0 / 1.327 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.3578, allocations: 15.44 kB / 1.327 GB, free: 11.98 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3578, allocations: 0 / 1.327 GB, free: 11.98 MB / 1.029 GB Notification: Performance of Templates: time 0.003359/0.3612, allocations: 0.6803 MB / 1.328 GB, free: 11.3 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.8219756600447]