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.001335/0.001335, allocations: 83.69 kB / 20.45 MB, free: 4.129 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.001513/0.001513, allocations: 161 kB / 23.82 MB, free: 0.7617 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.9549/0.9549, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.659/1.659, allocations: 359 MB / 0.6052 GB, free: 11 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 1.994e-06/1.994e-06, allocations: 0.875 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.754e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003901/0.003929, allocations: 2.292 MB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.006196, allocations: 1.399 MB / 0.7907 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.006398, allocations: 9.406 kB / 0.7907 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004992/0.006897, allocations: 171.2 kB / 0.7909 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005385/0.007435, allocations: 232.4 kB / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.007837, allocations: 191.4 kB / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005146/0.008351, allocations: 444.5 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.008542, allocations: 57.55 kB / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000913/0.009455, allocations: 322.4 kB / 0.7921 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.009698, allocations: 156.3 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.009743, allocations: 27.94 kB / 0.7922 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.009907, allocations: 84.95 kB / 0.7923 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.01003, allocations: 115.5 kB / 0.7924 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.01014, allocations: 91.7 kB / 0.7925 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.01064, allocations: 328.3 kB / 0.7928 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.01064, allocations: 0 / 0.7928 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.193e-06/0.01064, allocations: 3.938 kB / 0.7928 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.01065, allocations: 0 / 0.7928 GB, free: 6.656 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.0009462/0.0116, allocations: 0.7533 MB / 0.7936 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.01164, allocations: 12.03 kB / 0.7936 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.01175, allocations: 52.66 kB / 0.7936 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.0122, allocations: 347.8 kB / 0.794 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.01223, allocations: 12.38 kB / 0.794 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.01226, allocations: 12.38 kB / 0.794 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.01257, allocations: 191.5 kB / 0.7942 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.01258, allocations: 3.938 kB / 0.7942 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.0126, allocations: 12.61 kB / 0.7942 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.0126, allocations: 0 / 0.7942 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.01272, allocations: 49.56 kB / 0.7942 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009268/0.01365, allocations: 0.8017 MB / 0.795 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.01386, allocations: 112.2 kB / 0.7951 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.707e-05/0.01393, allocations: 43.89 kB / 0.7952 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.01394, allocations: 0 / 0.7952 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.01413, allocations: 133.1 kB / 0.7953 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.01413, allocations: 0 / 0.7953 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0003735/0.0145, allocations: 175.7 kB / 0.7955 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.01456, allocations: 102.8 kB / 0.7955 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/0.01505, allocations: 490.7 kB / 0.796 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.01508, allocations: 37.69 kB / 0.7961 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.01525, allocations: 269.3 kB / 0.7963 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.01529, allocations: 31.73 kB / 0.7963 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.0154, allocations: 83.28 kB / 0.7964 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.01557, allocations: 0.5352 MB / 0.7969 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.01568, allocations: 35.97 kB / 0.797 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.01585, allocations: 203.7 kB / 0.7972 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.01604, allocations: 141.1 kB / 0.7973 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01604, allocations: 1.562 kB / 0.7973 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003882/0.01643, allocations: 245.1 kB / 0.7975 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01645, allocations: 8 kB / 0.7975 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01645, allocations: 0.5312 kB / 0.7975 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.01647, allocations: 5.312 kB / 0.7976 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.01664, allocations: 51.91 kB / 0.7976 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.01665, allocations: 0 / 0.7976 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.01679, allocations: 33.03 kB / 0.7976 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.01682, allocations: 8 kB / 0.7976 GB, free: 1.398 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,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.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 0.0001262/0.01694, allocations: 179.9 kB / 0.7978 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/0.01702, allocations: 51.66 kB / 0.7979 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.01729, allocations: 165.9 kB / 0.798 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.0173, allocations: 0 / 0.798 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.0173, allocations: 0 / 0.798 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.01731, allocations: 8.766 kB / 0.798 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.01756, allocations: 272.5 kB / 0.7983 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01756, allocations: 1.312 kB / 0.7983 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.0176, allocations: 11.98 kB / 0.7983 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01761, allocations: 0 / 0.7983 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.01762, allocations: 7.938 kB / 0.7983 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01762, allocations: 0.5 kB / 0.7983 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01763, allocations: 0.7188 kB / 0.7983 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.01788, allocations: 211.8 kB / 0.7985 GB, free: 440 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.01794, allocations: 53.41 kB / 0.7986 GB, free: 388 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.01799, allocations: 15.92 kB / 0.7986 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.36e-05/0.01807, allocations: 15.98 kB / 0.7986 GB, free: 356 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.01814, allocations: 19.97 kB / 0.7986 GB, free: 336 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.01815, allocations: 8.859 kB / 0.7986 GB, free: 328 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003039/0.01846, allocations: 299 kB / 0.7989 GB, free: 32 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01846, allocations: 3.469 kB / 0.7989 GB, free: 32 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003329/0.01879, allocations: 71.94 kB / 0.799 GB, free: 15.96 MB / 0.7605 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.001051/0.01984, allocations: 399.5 kB / 0.7994 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.02012, allocations: 123.8 kB / 0.7995 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02012, allocations: 4 kB / 0.7995 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.894e-05/0.02021, allocations: 55.52 kB / 0.7995 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.02063, allocations: 107 kB / 0.7996 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.02168, allocations: 0.5534 MB / 0.8002 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.13e-05/0.02176, allocations: 113.1 kB / 0.8003 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.02187, allocations: 48.61 kB / 0.8003 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-05/0.02197, allocations: 41.3 kB / 0.8004 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of SimCode: time 9.11e-07/0.02197, allocations: 0 / 0.8004 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of Templates: time 0.009844/0.03181, allocations: 5.541 MB / 0.8058 GB, free: 9.184 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.766409573145211]