Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001/0.001, 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.0009705/0.0009705, allocations: 169 kB / 24.27 MB, free: 288 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 1.032/1.032, allocations: 177.2 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.894/1.894, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.8115 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.503e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002195/0.00221, allocations: 1.72 MB / 0.8132 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.003468, allocations: 1.407 MB / 0.8146 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.003533, allocations: 0 / 0.8146 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.003745, allocations: 25.06 kB / 0.8146 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.004063, allocations: 107.4 kB / 0.8147 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.004306, allocations: 140.2 kB / 0.8148 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000219/0.004525, allocations: 254.7 kB / 0.8151 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.00462, allocations: 15.98 kB / 0.8151 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.004724, allocations: 120.3 kB / 0.8152 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.004858, allocations: 83.81 kB / 0.8153 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.004886, allocations: 22.41 kB / 0.8153 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.005033, allocations: 119.8 kB / 0.8154 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.005109, allocations: 87.73 kB / 0.8155 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.005173, allocations: 63.83 kB / 0.8156 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.005455, allocations: 294.9 kB / 0.8159 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.005457, allocations: 0 / 0.8159 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005458, allocations: 1.406 kB / 0.8159 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.005461, allocations: 0 / 0.8159 GB, free: 12.49 MB / 0.7292 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.0005921/0.006053, allocations: 0.5858 MB / 0.8164 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.006091, allocations: 12.03 kB / 0.8164 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.719e-05/0.006168, allocations: 42.25 kB / 0.8165 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.006377, allocations: 215.6 kB / 0.8167 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.006393, allocations: 8.703 kB / 0.8167 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.006416, allocations: 21.94 kB / 0.8167 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.006675, allocations: 281.6 kB / 0.817 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.006684, allocations: 192 / 0.817 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.006702, allocations: 12.12 kB / 0.817 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.00671, allocations: 4 kB / 0.817 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.007182, allocations: 0.6292 MB / 0.8176 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005924/0.007774, allocations: 0.4996 MB / 0.8181 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.008026, allocations: 182.4 kB / 0.8183 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.0081, allocations: 56.75 kB / 0.8183 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.008132, allocations: 21.36 kB / 0.8184 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.008307, allocations: 154.5 kB / 0.8185 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.008308, allocations: 0.5938 kB / 0.8185 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35): time 0.0003987/0.008707, allocations: 275 kB / 0.8188 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002073/0.008914, allocations: 133 kB / 0.8189 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.0091, allocations: 309.7 kB / 0.8192 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.009121, allocations: 33.64 kB / 0.8192 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.009192, allocations: 179.5 kB / 0.8194 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.686e-05/0.009259, allocations: 119 kB / 0.8195 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.009325, allocations: 80.48 kB / 0.8196 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.009443, allocations: 0.5079 MB / 0.8201 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.967e-05/0.009513, allocations: 43.97 kB / 0.8201 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.009635, allocations: 174.9 kB / 0.8203 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.009801, allocations: 143.7 kB / 0.8204 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.009803, allocations: 0.9062 kB / 0.8204 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002533/0.01006, allocations: 232.9 kB / 0.8206 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.01007, allocations: 4 kB / 0.8206 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.01007, allocations: 1.031 kB / 0.8206 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.01008, allocations: 0 / 0.8206 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01023, allocations: 68.75 kB / 0.8207 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.01023, allocations: 0 / 0.8207 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.01031, allocations: 24.67 kB / 0.8207 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.01032, allocations: 19.98 kB / 0.8208 GB, free: 7.191 MB / 0.7292 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 8.834e-05/0.01041, allocations: 173.7 kB / 0.8209 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.01045, allocations: 39.81 kB / 0.821 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.01082, allocations: 300.2 kB / 0.8212 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.01082, allocations: 9.266 kB / 0.8213 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01083, allocations: 0 / 0.8213 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01083, allocations: 0 / 0.8213 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.011, allocations: 236.3 kB / 0.8215 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.011, allocations: 3.062 kB / 0.8215 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.83e-05/0.0111, allocations: 55.91 kB / 0.8215 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.0111, allocations: 0 / 0.8215 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.01111, allocations: 12 kB / 0.8215 GB, free: 6.332 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.01111, allocations: 4 kB / 0.8216 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01111, allocations: 0 / 0.8216 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.01137, allocations: 285.7 kB / 0.8218 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.01145, allocations: 63.73 kB / 0.8219 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.01148, allocations: 8.5 kB / 0.8219 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.01154, allocations: 20.39 kB / 0.8219 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.01158, allocations: 27.95 kB / 0.8219 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.0116, allocations: 15.98 kB / 0.822 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001012/0.0117, allocations: 209.1 kB / 0.8222 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.0117, allocations: 4 kB / 0.8222 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002087/0.01191, allocations: 76.52 kB / 0.8222 GB, free: 5.617 MB / 0.7292 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.0008887/0.0128, allocations: 456.2 kB / 0.8227 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.01303, allocations: 171.3 kB / 0.8228 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01304, allocations: 0 / 0.8228 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01314, allocations: 103.5 kB / 0.8229 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.01333, allocations: 50.62 kB / 0.823 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/0.01404, allocations: 423.3 kB / 0.8234 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.952e-05/0.01409, allocations: 95.09 kB / 0.8235 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.01427, allocations: 142.5 kB / 0.8236 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.01433, allocations: 44.47 kB / 0.8237 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of SimCode: time 7.92e-07/0.01433, allocations: 4 kB / 0.8237 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of Templates: time 0.005338/0.01967, allocations: 3.453 MB / 0.827 GB, free: 0.8555 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.262651261873543]