Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.002011/0.002011, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002079/0.002079, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.573/1.573, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.872/2.872, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.229e-05, allocations: 8.922 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00354/0.003572, allocations: 1.673 MB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.005966, allocations: 1.395 MB / 0.7894 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.006044, allocations: 0.9062 kB / 0.7894 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.00628, allocations: 19.8 kB / 0.7894 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004622/0.006742, allocations: 116.7 kB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.007147, allocations: 136.6 kB / 0.7897 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003699/0.007517, allocations: 253.5 kB / 0.7899 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.007622, allocations: 17.55 kB / 0.7899 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.007827, allocations: 119.8 kB / 0.79 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.008076, allocations: 81.86 kB / 0.7901 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.229e-05/0.008128, allocations: 20 kB / 0.7901 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.008391, allocations: 120.3 kB / 0.7902 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.008513, allocations: 87.73 kB / 0.7903 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.008629, allocations: 73.31 kB / 0.7904 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.009161, allocations: 358.7 kB / 0.7907 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.009165, allocations: 0 / 0.7907 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.009166, allocations: 0 / 0.7907 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.009172, allocations: 0.9062 kB / 0.7907 GB, free: 8.352 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009739/0.01015, allocations: 0.5976 MB / 0.7913 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.01019, allocations: 12.66 kB / 0.7913 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.01031, allocations: 38.11 kB / 0.7914 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.01066, allocations: 219.6 kB / 0.7916 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.01069, allocations: 16.64 kB / 0.7916 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.01072, allocations: 16.38 kB / 0.7916 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/0.01118, allocations: 298.8 kB / 0.7919 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.01119, allocations: 192 / 0.7919 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.01122, allocations: 8.125 kB / 0.7919 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.01122, allocations: 4 kB / 0.7919 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009855/0.01221, allocations: 0.6673 MB / 0.7926 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.01323, allocations: 0.5456 MB / 0.7931 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.01396, allocations: 228.8 kB / 0.7933 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.01411, allocations: 84.2 kB / 0.7934 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.923e-05/0.01416, allocations: 16.27 kB / 0.7934 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003121/0.01447, allocations: 170.6 kB / 0.7936 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=35): time 1.503e-06/0.01447, allocations: 0 / 0.7936 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.0007066/0.01518, allocations: 320.5 kB / 0.7939 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.01528, allocations: 134.2 kB / 0.794 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.01562, allocations: 324.3 kB / 0.7943 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.01566, allocations: 37.7 kB / 0.7943 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.01581, allocations: 183.5 kB / 0.7945 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.01594, allocations: 127 kB / 0.7946 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.01607, allocations: 80 kB / 0.7947 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002991/0.01637, allocations: 0.5235 MB / 0.7952 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.01651, allocations: 65.16 kB / 0.7953 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.01678, allocations: 203.7 kB / 0.7955 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.01712, allocations: 181.7 kB / 0.7957 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01712, allocations: 1.156 kB / 0.7957 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004861/0.01761, allocations: 265.6 kB / 0.7959 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.01763, allocations: 4 kB / 0.7959 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01763, allocations: 1.375 kB / 0.7959 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.01766, allocations: 4 kB / 0.7959 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.01792, allocations: 63.91 kB / 0.796 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.01793, allocations: 5.75 kB / 0.796 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.01807, allocations: 23.83 kB / 0.796 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.0181, allocations: 16 kB / 0.796 GB, free: 2.652 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 0.0001723/0.01827, allocations: 180.5 kB / 0.7962 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/0.01835, allocations: 32.73 kB / 0.7962 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007243/0.01907, allocations: 354.8 kB / 0.7966 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.01908, allocations: 4 kB / 0.7966 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01908, allocations: 48 / 0.7966 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.01909, allocations: 3.984 kB / 0.7966 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.01943, allocations: 256.3 kB / 0.7968 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01943, allocations: 0 / 0.7968 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.01963, allocations: 55.91 kB / 0.7969 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.01963, allocations: 4 kB / 0.7969 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.01965, allocations: 8.5 kB / 0.7969 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.01966, allocations: 5.938 kB / 0.7969 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.01966, allocations: 3.984 kB / 0.7969 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005264/0.02019, allocations: 317.2 kB / 0.7972 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.02033, allocations: 63.73 kB / 0.7973 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.02038, allocations: 8 kB / 0.7973 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.0205, allocations: 18.45 kB / 0.7973 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.02057, allocations: 19.95 kB / 0.7973 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.0206, allocations: 23.92 kB / 0.7973 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002163/0.02082, allocations: 221.1 kB / 0.7975 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02082, allocations: 4 kB / 0.7975 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003246/0.02114, allocations: 75.86 kB / 0.7976 GB, free: 0.9648 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002943/0.02408, allocations: 0.4924 MB / 0.7981 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004489/0.02453, allocations: 203.9 kB / 0.7983 GB, free: 480 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.02453, allocations: 0 / 0.7983 GB, free: 480 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.02476, allocations: 127.9 kB / 0.7984 GB, free: 348 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.02506, allocations: 48.38 kB / 0.7985 GB, free: 296 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009192/0.02598, allocations: 459.6 kB / 0.7989 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.02615, allocations: 142.7 kB / 0.799 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003283/0.02648, allocations: 134.9 kB / 0.7992 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.02659, allocations: 52.47 kB / 0.7992 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of SimCode: time 8.92e-07/0.02659, allocations: 4 kB / 0.7992 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of Templates: time 0.009504/0.03609, allocations: 3.434 MB / 0.8026 GB, free: 12.07 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.0348044160055]