Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.001381/0.001381, allocations: 81.86 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.001434/0.001434, allocations: 185 kB / 24.09 MB, free: 416 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.9757/0.9757, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.714/1.714, allocations: 359 MB / 0.6055 GB, free: 10.86 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.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.[0-9,]+.|tanSta.THig|tanSta.TLow|tanSta.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.[0-9,]+.|tanSta.THig|tanSta.TLow|tanSta.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 3.984 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.743e-05, allocations: 10.25 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002591/0.002608, allocations: 2.248 MB / 0.7897 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.004148, allocations: 1.392 MB / 0.7911 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.00426, allocations: 7.938 kB / 0.7911 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.004585, allocations: 168.9 kB / 0.7913 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.004893, allocations: 236 kB / 0.7915 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.005103, allocations: 187.4 kB / 0.7917 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.00542, allocations: 438.7 kB / 0.7921 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.005548, allocations: 66.22 kB / 0.7922 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005669/0.006115, allocations: 314.5 kB / 0.7925 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.006272, allocations: 159.6 kB / 0.7926 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.006304, allocations: 24.66 kB / 0.7926 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.006417, allocations: 85.44 kB / 0.7927 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.306e-05/0.0065, allocations: 115.6 kB / 0.7928 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.006572, allocations: 99.64 kB / 0.7929 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.006865, allocations: 322.7 kB / 0.7932 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.006868, allocations: 0 / 0.7932 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.563e-06/0.00687, allocations: 0.875 kB / 0.7932 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.006874, allocations: 0 / 0.7932 GB, free: 6.426 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006898/0.007564, allocations: 0.7549 MB / 0.794 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.007595, allocations: 8.031 kB / 0.794 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.007656, allocations: 60.66 kB / 0.794 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.00793, allocations: 337.3 kB / 0.7944 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.007949, allocations: 12.38 kB / 0.7944 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.007967, allocations: 16.38 kB / 0.7944 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.008145, allocations: 184.2 kB / 0.7946 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.008153, allocations: 3.938 kB / 0.7946 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.008165, allocations: 9.656 kB / 0.7946 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.008169, allocations: 0 / 0.7946 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.56e-05/0.008225, allocations: 39.89 kB / 0.7946 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.008785, allocations: 0.7296 MB / 0.7953 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.008907, allocations: 103.7 kB / 0.7954 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.008942, allocations: 35.36 kB / 0.7955 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.008954, allocations: 5.406 kB / 0.7955 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.009079, allocations: 124.2 kB / 0.7956 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.00908, allocations: 0 / 0.7956 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002465/0.009326, allocations: 165.8 kB / 0.7957 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.00937, allocations: 108.4 kB / 0.7958 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.009678, allocations: 478.4 kB / 0.7963 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.009703, allocations: 33.69 kB / 0.7963 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.009843, allocations: 271.2 kB / 0.7966 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.009872, allocations: 40.75 kB / 0.7966 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-05/0.009944, allocations: 75.31 kB / 0.7967 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.01009, allocations: 0.5435 MB / 0.7972 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-05/0.01013, allocations: 32.08 kB / 0.7973 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.869e-05/0.01023, allocations: 196 kB / 0.7974 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.01034, allocations: 122.3 kB / 0.7976 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01034, allocations: 0 / 0.7976 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002116/0.01055, allocations: 225.5 kB / 0.7978 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.01057, allocations: 11.94 kB / 0.7978 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01057, allocations: 3.938 kB / 0.7978 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.01059, allocations: 5.156 kB / 0.7978 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.01069, allocations: 39.98 kB / 0.7978 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.01069, allocations: 7.922 kB / 0.7978 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.133e-05/0.01077, allocations: 33.28 kB / 0.7979 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.01079, allocations: 12.81 kB / 0.7979 GB, free: 1.344 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,tanSta.gre.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.616e-05/0.01089, allocations: 175.5 kB / 0.7981 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.01093, allocations: 47.7 kB / 0.7981 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.0111, allocations: 154.3 kB / 0.7982 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01111, allocations: 7.938 kB / 0.7983 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.01111, allocations: 4 kB / 0.7983 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01111, allocations: 0 / 0.7983 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.01127, allocations: 210 kB / 0.7985 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01127, allocations: 0 / 0.7985 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.01129, allocations: 18.31 kB / 0.7985 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.0113, allocations: 0 / 0.7985 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.01131, allocations: 7.984 kB / 0.7985 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01131, allocations: 0 / 0.7985 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01131, allocations: 3.938 kB / 0.7985 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.01146, allocations: 203.8 kB / 0.7987 GB, free: 472 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.0115, allocations: 51.08 kB / 0.7987 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.01153, allocations: 8 kB / 0.7987 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.03e-05/0.01158, allocations: 15.98 kB / 0.7988 GB, free: 400 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.01162, allocations: 27.89 kB / 0.7988 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.01163, allocations: 4 kB / 0.7988 GB, free: 368 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001441/0.01177, allocations: 283 kB / 0.7991 GB, free: 84 kB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01177, allocations: 0 / 0.7991 GB, free: 84 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001823/0.01195, allocations: 71.88 kB / 0.7991 GB, free: 12 kB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007825/0.01274, allocations: 400 kB / 0.7995 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.01289, allocations: 119.3 kB / 0.7996 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01289, allocations: 0 / 0.7996 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.434e-05/0.01295, allocations: 49.83 kB / 0.7997 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.01323, allocations: 107.8 kB / 0.7998 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.01387, allocations: 0.5497 MB / 0.8003 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.002e-05/0.01393, allocations: 108.6 kB / 0.8004 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.964e-05/0.01401, allocations: 52.62 kB / 0.8005 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.01416, allocations: 147.2 kB / 0.8006 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of SimCode: time 6.21e-07/0.01416, allocations: 4 kB / 0.8006 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of Templates: time 0.007081/0.02125, allocations: 5.637 MB / 0.8061 GB, free: 9.059 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.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: 4.969211489893496]