Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008276/0.0008276, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008273/0.0008273, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8599/0.8599, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.745/1.745, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.918e-05, allocations: 6.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001707/0.001726, allocations: 1.471 MB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006884/0.002414, allocations: 0.585 MB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.002462, allocations: 0 / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.002489, allocations: 3.938 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.002531, allocations: 11.86 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.002794, allocations: 51.81 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.66e-05/0.00288, allocations: 35.8 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.002966, allocations: 11.98 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.003074, allocations: 27.92 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.003114, allocations: 7.984 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.003126, allocations: 0 / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-05/0.003219, allocations: 55.89 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.367e-06/0.003228, allocations: 0 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.003249, allocations: 15.92 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.003379, allocations: 75.83 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.00338, allocations: 0 / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003381, allocations: 0 / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.003386, allocations: 0 / 1.003 GB, free: 10.62 MB / 0.9636 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.0003119/0.003697, allocations: 286 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.00373, allocations: 8.75 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006676/0.01041, allocations: 2.439 MB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.0106, allocations: 145.6 kB / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.01061, allocations: 4.359 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.01064, allocations: 4.375 kB / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.01329, allocations: 1.017 MB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.0133, allocations: 192 / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.01332, allocations: 4.375 kB / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.01333, allocations: 3.938 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004556/0.01788, allocations: 1.857 MB / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/0.02082, allocations: 1.392 MB / 1.01 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004455/0.02527, allocations: 1.872 MB / 1.012 GB, free: 1.496 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002257/0.02753, allocations: 0.9335 MB / 1.013 GB, free: 0.5586 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.02755, allocations: 8 kB / 1.013 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.02757, allocations: 34.5 kB / 1.013 GB, free: 0.5078 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.02757, allocations: 0 / 1.013 GB, free: 0.5078 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.006983/0.03455, allocations: 2.756 MB / 1.016 GB, free: 13.74 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.03459, allocations: 55.39 kB / 1.016 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.03465, allocations: 109.8 kB / 1.016 GB, free: 13.56 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.03468, allocations: 25.7 kB / 1.016 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.03471, allocations: 84.14 kB / 1.016 GB, free: 13.44 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.03474, allocations: 7.953 kB / 1.016 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/0.03481, allocations: 25.69 kB / 1.016 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.03488, allocations: 314.8 kB / 1.016 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/0.03713, allocations: 0.9326 MB / 1.017 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/0.03937, allocations: 0.9287 MB / 1.018 GB, free: 11.22 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004161/0.04353, allocations: 1.679 MB / 1.02 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.04353, allocations: 0 / 1.02 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.004682/0.04822, allocations: 1.816 MB / 1.021 GB, free: 7.715 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.04823, allocations: 11.92 kB / 1.021 GB, free: 7.703 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.04824, allocations: 3.938 kB / 1.021 GB, free: 7.699 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.04825, allocations: 0 / 1.021 GB, free: 7.699 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.0495, allocations: 467.5 kB / 1.022 GB, free: 7.242 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.04951, allocations: 0 / 1.022 GB, free: 7.242 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.05069, allocations: 451.5 kB / 1.022 GB, free: 6.801 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.05071, allocations: 7.984 kB / 1.022 GB, free: 6.793 MB / 0.9792 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.656e-05/0.0508, allocations: 109.8 kB / 1.022 GB, free: 6.676 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.05083, allocations: 15.89 kB / 1.022 GB, free: 6.66 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.05087, allocations: 11.62 kB / 1.023 GB, free: 6.645 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.05088, allocations: 4 kB / 1.023 GB, free: 6.641 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.05088, allocations: 4 kB / 1.023 GB, free: 6.637 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.05088, allocations: 0 / 1.023 GB, free: 6.637 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.05111, allocations: 250.2 kB / 1.023 GB, free: 6.359 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.05111, allocations: 0 / 1.023 GB, free: 6.359 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.05233, allocations: 459.5 kB / 1.023 GB, free: 5.91 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.05233, allocations: 0 / 1.023 GB, free: 5.91 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.05235, allocations: 11.92 kB / 1.023 GB, free: 5.898 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.05235, allocations: 0 / 1.023 GB, free: 5.898 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.05236, allocations: 384 / 1.023 GB, free: 5.898 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004478/0.05683, allocations: 1.912 MB / 1.025 GB, free: 3.969 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.05684, allocations: 11.94 kB / 1.025 GB, free: 3.957 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.05687, allocations: 3.938 kB / 1.025 GB, free: 3.953 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.05808, allocations: 451.5 kB / 1.026 GB, free: 3.512 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.05811, allocations: 7.984 kB / 1.026 GB, free: 3.504 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.05813, allocations: 7.984 kB / 1.026 GB, free: 3.496 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.193e-05/0.05816, allocations: 87.28 kB / 1.026 GB, free: 3.41 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.05816, allocations: 0 / 1.026 GB, free: 3.41 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001972/0.05836, allocations: 36 kB / 1.026 GB, free: 3.375 MB / 0.9792 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.0001124/0.05847, allocations: 95.23 kB / 1.026 GB, free: 3.273 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0046/0.06307, allocations: 1.869 MB / 1.028 GB, free: 1.402 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.06307, allocations: 0 / 1.028 GB, free: 1.402 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002552/0.06563, allocations: 0.9444 MB / 1.028 GB, free: 468 kB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.06581, allocations: 9.562 kB / 1.028 GB, free: 460 kB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.06836, allocations: 1.06 MB / 1.03 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.631e-05/0.06841, allocations: 67.25 kB / 1.03 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.0686, allocations: 32.45 kB / 1.03 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of SimCode: time 8.01e-07/0.0686, allocations: 0 / 1.03 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of Templates: time 0.002912/0.07151, allocations: 2.813 MB / 1.032 GB, free: 12.39 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.030714771710336]