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.001249/0.001249, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001248/0.001248, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9267/0.9267, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.816/1.816, allocations: 359 MB / 0.6052 GB, free: 10.96 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.122e-06/1.122e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.685e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00206/0.002077, allocations: 1.712 MB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.003379, allocations: 1.398 MB / 0.7902 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.003435, allocations: 1.062 kB / 0.7902 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.00365, allocations: 35.7 kB / 0.7902 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.003992, allocations: 116.8 kB / 0.7903 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.004253, allocations: 131.6 kB / 0.7904 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.004476, allocations: 252 kB / 0.7907 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.004557, allocations: 8 kB / 0.7907 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02594/0.0305, allocations: 10.47 MB / 0.8009 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.03062, allocations: 67.84 kB / 0.801 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.03065, allocations: 17.09 kB / 0.801 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.03079, allocations: 59.92 kB / 0.801 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.771e-05/0.03086, allocations: 80.45 kB / 0.8011 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.901e-05/0.03093, allocations: 67.75 kB / 0.8012 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.03125, allocations: 247 kB / 0.8014 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.03125, allocations: 0 / 0.8014 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/0.03125, allocations: 0 / 0.8014 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.03126, allocations: 0 / 0.8014 GB, free: 1.5 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.0005777/0.03183, allocations: 0.563 MB / 0.802 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.03187, allocations: 8.031 kB / 0.802 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.03194, allocations: 40.78 kB / 0.802 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.03218, allocations: 258.1 kB / 0.8022 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.0322, allocations: 12.7 kB / 0.8023 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.03222, allocations: 20.38 kB / 0.8023 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.03246, allocations: 248.1 kB / 0.8025 GB, free: 276 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.03246, allocations: 192 / 0.8025 GB, free: 276 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.03248, allocations: 20.06 kB / 0.8025 GB, free: 256 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.03249, allocations: 7.984 kB / 0.8025 GB, free: 248 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.03296, allocations: 0.6243 MB / 0.8032 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.03353, allocations: 499.6 kB / 0.8036 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.03378, allocations: 180.8 kB / 0.8038 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.315e-05/0.03386, allocations: 56.22 kB / 0.8039 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.03389, allocations: 20.27 kB / 0.8039 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.03407, allocations: 145.9 kB / 0.804 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=35): time 1.503e-06/0.03407, allocations: 0 / 0.804 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of matching and sorting (n=35): time 0.0003768/0.03445, allocations: 268 kB / 0.8043 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.0345, allocations: 106.8 kB / 0.8044 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.03464, allocations: 276.3 kB / 0.8046 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.03466, allocations: 33.7 kB / 0.8047 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.03473, allocations: 171.5 kB / 0.8048 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.338e-05/0.0348, allocations: 123 kB / 0.8049 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.03487, allocations: 75.34 kB / 0.805 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.035, allocations: 0.5157 MB / 0.8055 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-05/0.03507, allocations: 43.91 kB / 0.8056 GB, free: 13 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.03518, allocations: 142.4 kB / 0.8057 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.03535, allocations: 149.1 kB / 0.8058 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.03535, allocations: 0 / 0.8058 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002343/0.03558, allocations: 217.2 kB / 0.8061 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.0356, allocations: 11.98 kB / 0.8061 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.0356, allocations: 0 / 0.8061 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.03561, allocations: 0 / 0.8061 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.03576, allocations: 63.91 kB / 0.8061 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.03577, allocations: 0 / 0.8061 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.68e-05/0.03583, allocations: 27.84 kB / 0.8062 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.03585, allocations: 16.02 kB / 0.8062 GB, free: 12.35 MB / 0.7605 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.915e-05/0.03595, allocations: 184.4 kB / 0.8063 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.03599, allocations: 35.86 kB / 0.8064 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.03634, allocations: 313 kB / 0.8067 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.03634, allocations: 4 kB / 0.8067 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.03635, allocations: 0 / 0.8067 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.03635, allocations: 3.984 kB / 0.8067 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.03651, allocations: 228.4 kB / 0.8069 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.03651, allocations: 3.938 kB / 0.8069 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.03661, allocations: 63.91 kB / 0.807 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.03662, allocations: 0 / 0.807 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.03663, allocations: 8 kB / 0.807 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.03663, allocations: 4 kB / 0.807 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.03663, allocations: 4 kB / 0.807 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.03689, allocations: 277.1 kB / 0.8072 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.03696, allocations: 63.73 kB / 0.8073 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.03699, allocations: 8 kB / 0.8073 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.217e-05/0.03704, allocations: 11.98 kB / 0.8073 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.03709, allocations: 31.89 kB / 0.8074 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.0371, allocations: 8 kB / 0.8074 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.71e-05/0.03719, allocations: 193.1 kB / 0.8075 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.03719, allocations: 0 / 0.8075 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001739/0.03736, allocations: 52 kB / 0.8076 GB, free: 10.81 MB / 0.7605 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.0007095/0.03807, allocations: 353.2 kB / 0.8079 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.0383, allocations: 160 kB / 0.8081 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0383, allocations: 0 / 0.8081 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.03841, allocations: 103.4 kB / 0.8082 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.03858, allocations: 54.44 kB / 0.8082 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/0.03926, allocations: 428.8 kB / 0.8086 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.655e-05/0.03931, allocations: 93.81 kB / 0.8087 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001725/0.03949, allocations: 138.8 kB / 0.8089 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.03955, allocations: 48.48 kB / 0.8089 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of SimCode: time 7.41e-07/0.03955, allocations: 0 / 0.8089 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of Templates: time 0.004715/0.04427, allocations: 3.011 MB / 0.8119 GB, free: 6.535 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.000423809047788]