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.001052/0.001052, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001114/0.001114, allocations: 181 kB / 24.09 MB, free: 420 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.039/1.039, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.925/1.925, allocations: 377.9 MB / 0.6239 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 177] 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.473e-06/1.473e-06, allocations: 0 / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098e-05/1.245e-05, allocations: 2.906 kB / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002003/0.002015, allocations: 1.703 MB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.003449, allocations: 1.4 MB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.003513, allocations: 4 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.003704, allocations: 33.53 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.004008, allocations: 115.3 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.004262, allocations: 133 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.004484, allocations: 257.5 kB / 0.8156 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.004562, allocations: 12 kB / 0.8156 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02668/0.03124, allocations: 10.45 MB / 0.8258 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.03136, allocations: 71.78 kB / 0.8258 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.0314, allocations: 20 kB / 0.8259 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.03152, allocations: 55.92 kB / 0.8259 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.03159, allocations: 87.73 kB / 0.826 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.03166, allocations: 71.75 kB / 0.8261 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.03193, allocations: 235.1 kB / 0.8263 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.03194, allocations: 3.984 kB / 0.8263 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.41e-07/0.03194, allocations: 0 / 0.8263 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.03194, allocations: 0 / 0.8263 GB, free: 6.57 MB / 0.7761 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.0005915/0.03253, allocations: 0.5706 MB / 0.8268 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.03258, allocations: 8.031 kB / 0.8269 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.03264, allocations: 40.8 kB / 0.8269 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.03286, allocations: 254.1 kB / 0.8271 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.03288, allocations: 12.7 kB / 0.8272 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.0329, allocations: 24.38 kB / 0.8272 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.03313, allocations: 236.1 kB / 0.8274 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.03314, allocations: 192 / 0.8274 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.03316, allocations: 12.12 kB / 0.8274 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.03317, allocations: 4 kB / 0.8274 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.03357, allocations: 0.5657 MB / 0.828 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.03411, allocations: 460.2 kB / 0.8284 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.03431, allocations: 156.8 kB / 0.8286 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.585e-05/0.03436, allocations: 52.16 kB / 0.8286 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.03441, allocations: 40.08 kB / 0.8286 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.03456, allocations: 134.7 kB / 0.8288 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=35): time 1.883e-06/0.03456, allocations: 0 / 0.8288 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35): time 0.0003033/0.03486, allocations: 243.1 kB / 0.829 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.03491, allocations: 110.8 kB / 0.8291 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.03505, allocations: 272.2 kB / 0.8294 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.03507, allocations: 37.7 kB / 0.8294 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.03514, allocations: 183.4 kB / 0.8296 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.03521, allocations: 115 kB / 0.8297 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.03527, allocations: 75.33 kB / 0.8298 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.03539, allocations: 0.5157 MB / 0.8303 GB, free: 2.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.495e-05/0.03544, allocations: 39.95 kB / 0.8303 GB, free: 2.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/0.03552, allocations: 134.1 kB / 0.8304 GB, free: 2.074 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.03565, allocations: 117.6 kB / 0.8305 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.03565, allocations: 0 / 0.8305 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001953/0.03584, allocations: 212.9 kB / 0.8307 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.03585, allocations: 4 kB / 0.8307 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.03586, allocations: 3.984 kB / 0.8308 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.03587, allocations: 4 kB / 0.8308 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.03601, allocations: 63.91 kB / 0.8308 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.03602, allocations: 4 kB / 0.8308 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.03608, allocations: 27.86 kB / 0.8308 GB, free: 1.637 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.03609, allocations: 12 kB / 0.8309 GB, free: 1.625 MB / 0.7761 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.674e-05/0.03618, allocations: 180.4 kB / 0.831 GB, free: 1.438 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.03621, allocations: 35.8 kB / 0.8311 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.03652, allocations: 300.7 kB / 0.8314 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.03652, allocations: 0 / 0.8314 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.03652, allocations: 4 kB / 0.8314 GB, free: 1.102 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.03653, allocations: 0 / 0.8314 GB, free: 1.102 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.03668, allocations: 193 kB / 0.8315 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.03669, allocations: 0 / 0.8315 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.0368, allocations: 59.91 kB / 0.8316 GB, free: 0.8281 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.0368, allocations: 3.938 kB / 0.8316 GB, free: 0.8242 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.03681, allocations: 12 kB / 0.8316 GB, free: 0.8125 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.03681, allocations: 0 / 0.8316 GB, free: 0.8125 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.03682, allocations: 4 kB / 0.8316 GB, free: 0.8086 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.03704, allocations: 257.9 kB / 0.8319 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.03711, allocations: 59.73 kB / 0.8319 GB, free: 484 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.03713, allocations: 7.938 kB / 0.8319 GB, free: 476 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/0.03719, allocations: 19.98 kB / 0.8319 GB, free: 456 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.03722, allocations: 19.95 kB / 0.832 GB, free: 436 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.03724, allocations: 12 kB / 0.832 GB, free: 424 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.237e-05/0.03732, allocations: 181.1 kB / 0.8321 GB, free: 244 kB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.03732, allocations: 7.938 kB / 0.8322 GB, free: 236 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001664/0.03748, allocations: 48 kB / 0.8322 GB, free: 188 kB / 0.7761 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.0007669/0.03825, allocations: 354.2 kB / 0.8325 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.03843, allocations: 143.5 kB / 0.8327 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.03843, allocations: 3.938 kB / 0.8327 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/0.03851, allocations: 91.55 kB / 0.8328 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.03868, allocations: 55.2 kB / 0.8328 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005886/0.03927, allocations: 428.7 kB / 0.8332 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.915e-05/0.03932, allocations: 93.67 kB / 0.8333 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001144/0.03943, allocations: 78.94 kB / 0.8334 GB, free: 15.01 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.03957, allocations: 146.2 kB / 0.8335 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of SimCode: time 8.72e-07/0.03957, allocations: 0 / 0.8335 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of Templates: time 0.004709/0.04428, allocations: 3.112 MB / 0.8366 GB, free: 11.78 MB / 0.7917 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.331874706782401]