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.0009816/0.0009816, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.00169/0.00169, allocations: 158.8 kB / 24.86 MB, free: 9.285 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.008/1.008, allocations: 177.2 MB / 205.3 MB, free: 5.504 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.889/1.889, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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.322e-06/1.322e-06, allocations: 0 / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.353e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002444/0.002468, allocations: 1.697 MB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.003832, allocations: 1.404 MB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.003898, allocations: 0 / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.004122, allocations: 35.7 kB / 0.8159 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.004429, allocations: 112.3 kB / 0.816 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.004671, allocations: 132.2 kB / 0.8161 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.004908, allocations: 258.9 kB / 0.8163 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.004997, allocations: 8 kB / 0.8163 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02818/0.03318, allocations: 10.46 MB / 0.8266 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.03332, allocations: 68.34 kB / 0.8266 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.03335, allocations: 16 kB / 0.8266 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.0335, allocations: 60.67 kB / 0.8267 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.259e-05/0.03358, allocations: 87.73 kB / 0.8268 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.017e-05/0.03365, allocations: 65.03 kB / 0.8268 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.03398, allocations: 239 kB / 0.8271 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.03399, allocations: 0 / 0.8271 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.693e-06/0.03399, allocations: 4.781 kB / 0.8271 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.03399, allocations: 0 / 0.8271 GB, free: 6.535 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.0006135/0.03461, allocations: 0.5673 MB / 0.8276 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.03464, allocations: 13.12 kB / 0.8276 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/0.03471, allocations: 36.8 kB / 0.8277 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.03495, allocations: 258.1 kB / 0.8279 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.03497, allocations: 9.359 kB / 0.8279 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.03499, allocations: 16.38 kB / 0.8279 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.0352, allocations: 244.6 kB / 0.8282 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.03521, allocations: 7.609 kB / 0.8282 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.03523, allocations: 8.125 kB / 0.8282 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.03524, allocations: 4 kB / 0.8282 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.03566, allocations: 0.5618 MB / 0.8287 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.03622, allocations: 464.2 kB / 0.8292 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.03644, allocations: 148.8 kB / 0.8293 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.783e-05/0.0365, allocations: 56.16 kB / 0.8294 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.03653, allocations: 20.98 kB / 0.8294 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.0367, allocations: 138.6 kB / 0.8295 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=35): time 2.685e-06/0.0367, allocations: 1.656 kB / 0.8295 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35): time 0.0003351/0.03703, allocations: 239.1 kB / 0.8298 GB, free: 3.621 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.03709, allocations: 114.8 kB / 0.8299 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.03724, allocations: 272.2 kB / 0.8301 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.03727, allocations: 33.7 kB / 0.8302 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.03734, allocations: 179.4 kB / 0.8303 GB, free: 2.988 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.03741, allocations: 119 kB / 0.8305 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.03748, allocations: 71.33 kB / 0.8305 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.03761, allocations: 0.5157 MB / 0.831 GB, free: 2.266 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.336e-05/0.03766, allocations: 43.89 kB / 0.8311 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.03777, allocations: 134.2 kB / 0.8312 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.0379, allocations: 113.6 kB / 0.8313 GB, free: 1.953 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.0379, allocations: 0 / 0.8313 GB, free: 1.953 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002189/0.03812, allocations: 212.9 kB / 0.8315 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.03814, allocations: 8 kB / 0.8315 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.03814, allocations: 4.031 kB / 0.8315 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.03815, allocations: 0 / 0.8315 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.0383, allocations: 63.91 kB / 0.8316 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.03831, allocations: 0 / 0.8316 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.03838, allocations: 31.83 kB / 0.8316 GB, free: 1.633 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.03839, allocations: 8 kB / 0.8316 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 0.0001006/0.03849, allocations: 184.4 kB / 0.8318 GB, free: 1.434 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.03854, allocations: 39.8 kB / 0.8318 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.03888, allocations: 296.7 kB / 0.8321 GB, free: 1.102 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.03889, allocations: 4 kB / 0.8321 GB, free: 1.098 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.03889, allocations: 0 / 0.8321 GB, free: 1.098 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.0389, allocations: 0 / 0.8321 GB, free: 1.098 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.03907, allocations: 197 kB / 0.8323 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.03908, allocations: 0 / 0.8323 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.03919, allocations: 59.91 kB / 0.8324 GB, free: 0.8203 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.03919, allocations: 3.938 kB / 0.8324 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.0392, allocations: 12 kB / 0.8324 GB, free: 0.8047 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.03921, allocations: 0 / 0.8324 GB, free: 0.8047 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.03921, allocations: 0 / 0.8324 GB, free: 0.8047 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.03945, allocations: 253.9 kB / 0.8326 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.03952, allocations: 63.73 kB / 0.8327 GB, free: 480 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.03955, allocations: 11.94 kB / 0.8327 GB, free: 468 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.171e-05/0.03961, allocations: 19.5 kB / 0.8327 GB, free: 452 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.03965, allocations: 27.95 kB / 0.8327 GB, free: 424 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.03966, allocations: 7.938 kB / 0.8327 GB, free: 416 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.253e-05/0.03975, allocations: 193.1 kB / 0.8329 GB, free: 224 kB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.03975, allocations: 0 / 0.8329 GB, free: 224 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001787/0.03992, allocations: 44 kB / 0.833 GB, free: 180 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.0008303/0.04075, allocations: 347.1 kB / 0.8333 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.04095, allocations: 155.4 kB / 0.8335 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.04095, allocations: 0 / 0.8335 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.04104, allocations: 87.56 kB / 0.8335 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.000218/0.04126, allocations: 55.28 kB / 0.8336 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.04192, allocations: 428.7 kB / 0.834 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.251e-05/0.04197, allocations: 93.67 kB / 0.8341 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.0421, allocations: 82.94 kB / 0.8342 GB, free: 15 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.04226, allocations: 142.2 kB / 0.8343 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of SimCode: time 6.41e-07/0.04226, allocations: 3.938 kB / 0.8343 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of Templates: time 0.005095/0.04735, allocations: 3.141 MB / 0.8374 GB, free: 11.74 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.393243545200676]