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.001012/0.001012, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.000956/0.000956, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9409/0.9409, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 1.807/1.807, allocations: 359 MB / 0.6055 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] 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.352e-06/1.352e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.807e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002258/0.002277, allocations: 1.704 MB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.003727, allocations: 1.395 MB / 0.7901 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.003796, allocations: 4 kB / 0.7901 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.004029, allocations: 28.69 kB / 0.7902 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.00435, allocations: 112.3 kB / 0.7903 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.00461, allocations: 136.7 kB / 0.7904 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.004866, allocations: 257.5 kB / 0.7907 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.004973, allocations: 11.98 kB / 0.7907 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.005086, allocations: 116.4 kB / 0.7908 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.005244, allocations: 86.22 kB / 0.7909 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.005275, allocations: 20 kB / 0.7909 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.00543, allocations: 124.6 kB / 0.791 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.033e-05/0.005521, allocations: 87.8 kB / 0.7911 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.005591, allocations: 68.42 kB / 0.7911 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.005901, allocations: 290.9 kB / 0.7914 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.005903, allocations: 1.594 kB / 0.7914 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005904, allocations: 0 / 0.7914 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.005908, allocations: 0 / 0.7914 GB, free: 8.379 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.0006335/0.006542, allocations: 0.59 MB / 0.792 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.006585, allocations: 11.53 kB / 0.792 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.006668, allocations: 44.72 kB / 0.7921 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.006892, allocations: 223.5 kB / 0.7923 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.006911, allocations: 16.7 kB / 0.7923 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.006933, allocations: 16.38 kB / 0.7923 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.007188, allocations: 281.6 kB / 0.7926 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.007196, allocations: 192 / 0.7926 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.007215, allocations: 8.125 kB / 0.7926 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.007224, allocations: 4 kB / 0.7926 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.007696, allocations: 0.6286 MB / 0.7932 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.008326, allocations: 0.4886 MB / 0.7937 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.008591, allocations: 174.5 kB / 0.7938 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.78e-05/0.008669, allocations: 64.16 kB / 0.7939 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.008705, allocations: 20.27 kB / 0.7939 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.00889, allocations: 141.9 kB / 0.7941 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.008891, allocations: 5 kB / 0.7941 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.0004081/0.009299, allocations: 264 kB / 0.7943 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.009373, allocations: 141.5 kB / 0.7944 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.009581, allocations: 308.2 kB / 0.7947 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.009605, allocations: 33.7 kB / 0.7948 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.009684, allocations: 176.4 kB / 0.7949 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.135e-05/0.009765, allocations: 115 kB / 0.795 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/0.009838, allocations: 80.39 kB / 0.7951 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.009991, allocations: 0.5118 MB / 0.7956 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.839e-05/0.01006, allocations: 39.97 kB / 0.7957 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.01019, allocations: 177.2 kB / 0.7958 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.01036, allocations: 145.7 kB / 0.796 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.01037, allocations: 0 / 0.796 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002598/0.01063, allocations: 229.5 kB / 0.7962 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.01064, allocations: 8.562 kB / 0.7962 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01065, allocations: 0.5312 kB / 0.7962 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.01066, allocations: 3.938 kB / 0.7962 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.01081, allocations: 64.53 kB / 0.7963 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01082, allocations: 1.312 kB / 0.7963 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.275e-05/0.01089, allocations: 34.45 kB / 0.7963 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.0109, allocations: 11.98 kB / 0.7963 GB, free: 3.094 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 9.256e-05/0.011, allocations: 181.2 kB / 0.7965 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.01103, allocations: 37.7 kB / 0.7965 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.01144, allocations: 307.5 kB / 0.7968 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.01144, allocations: 7.984 kB / 0.7968 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.01145, allocations: 0.5312 kB / 0.7968 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01145, allocations: 0 / 0.7968 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.01162, allocations: 229.5 kB / 0.797 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01162, allocations: 0 / 0.797 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.01173, allocations: 63.91 kB / 0.7971 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01173, allocations: 0.6875 kB / 0.7971 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.01174, allocations: 8 kB / 0.7971 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.01174, allocations: 5.062 kB / 0.7971 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01175, allocations: 0 / 0.7971 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.01202, allocations: 281.1 kB / 0.7974 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.01209, allocations: 68.83 kB / 0.7974 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.01212, allocations: 4 kB / 0.7974 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.866e-05/0.01218, allocations: 16.83 kB / 0.7975 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.01223, allocations: 27.98 kB / 0.7975 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.01224, allocations: 11.98 kB / 0.7975 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001062/0.01235, allocations: 219.4 kB / 0.7977 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01235, allocations: 0 / 0.7977 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002086/0.01256, allocations: 75.86 kB / 0.7978 GB, free: 1.52 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.0009654/0.01352, allocations: 467.9 kB / 0.7982 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.01376, allocations: 160 kB / 0.7984 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01376, allocations: 0 / 0.7984 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.01387, allocations: 103.4 kB / 0.7985 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.01406, allocations: 51.91 kB / 0.7985 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006644/0.01472, allocations: 439.9 kB / 0.799 GB, free: 472 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.844e-05/0.01477, allocations: 89.81 kB / 0.799 GB, free: 360 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.01494, allocations: 137.4 kB / 0.7992 GB, free: 224 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.01501, allocations: 52.47 kB / 0.7992 GB, free: 168 kB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.01501, allocations: 4 kB / 0.7992 GB, free: 164 kB / 0.7448 GB Notification: Performance of Templates: time 0.004986/0.01999, allocations: 3.444 MB / 0.8026 GB, free: 12.75 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.223862093873322]