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.001306/0.001306, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001425/0.001425, allocations: 161 kB / 23.82 MB, free: 0.75 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.9332/0.9332, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.754/1.754, allocations: 359 MB / 0.6052 GB, free: 11.02 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.834e-06/1.834e-06, allocations: 0.9844 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.534e-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.002842/0.002868, allocations: 2.291 MB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.004588, allocations: 1.402 MB / 0.7907 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.004732, allocations: 7.938 kB / 0.7907 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.005163, allocations: 168.5 kB / 0.7909 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.00559, allocations: 236.8 kB / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.005914, allocations: 183.4 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000416/0.00633, allocations: 446.6 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.006498, allocations: 66.5 kB / 0.7917 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.006736, allocations: 235.4 kB / 0.792 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.006921, allocations: 164.4 kB / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.006957, allocations: 24 kB / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.007099, allocations: 80.94 kB / 0.7922 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.007205, allocations: 123.5 kB / 0.7923 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.79e-05/0.007293, allocations: 95.69 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.007665, allocations: 331.2 kB / 0.7928 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.007669, allocations: 1.219 kB / 0.7928 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/0.00767, allocations: 0 / 0.7928 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.007677, allocations: 0 / 0.7928 GB, free: 6.691 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.0008042/0.008481, allocations: 0.7507 MB / 0.7935 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.008519, allocations: 12.02 kB / 0.7935 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.95e-05/0.008609, allocations: 56.66 kB / 0.7936 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.00901, allocations: 330.8 kB / 0.7939 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.009034, allocations: 12.38 kB / 0.7939 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.009059, allocations: 16.36 kB / 0.7939 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.009333, allocations: 192 kB / 0.7941 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.009345, allocations: 1.656 kB / 0.7941 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.00936, allocations: 8 kB / 0.7941 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.009369, allocations: 0 / 0.7941 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.317e-05/0.009462, allocations: 47.91 kB / 0.7941 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007678/0.01023, allocations: 0.799 MB / 0.7949 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.0104, allocations: 112 kB / 0.795 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.01045, allocations: 41.05 kB / 0.7951 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.01047, allocations: 3.938 kB / 0.7951 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.01063, allocations: 140.2 kB / 0.7952 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 3.036e-06/0.01064, allocations: 3.984 kB / 0.7952 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0003124/0.01095, allocations: 174.2 kB / 0.7954 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.011, allocations: 102.8 kB / 0.7955 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.01139, allocations: 0.4913 MB / 0.7959 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.01141, allocations: 34.33 kB / 0.796 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.01156, allocations: 259.2 kB / 0.7962 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.01159, allocations: 40.31 kB / 0.7963 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.533e-05/0.01167, allocations: 80.61 kB / 0.7963 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.01181, allocations: 0.5274 MB / 0.7969 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.01189, allocations: 39.97 kB / 0.7969 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.01203, allocations: 204.1 kB / 0.7971 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.01217, allocations: 131.7 kB / 0.7972 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01218, allocations: 4 kB / 0.7972 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002966/0.01247, allocations: 244.8 kB / 0.7975 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.01249, allocations: 5.062 kB / 0.7975 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01249, allocations: 4 kB / 0.7975 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.01251, allocations: 0 / 0.7975 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.01265, allocations: 53.66 kB / 0.7975 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.01266, allocations: 4 kB / 0.7975 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.01276, allocations: 27.88 kB / 0.7975 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.01278, allocations: 13.34 kB / 0.7976 GB, free: 1.445 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.0001075/0.01289, allocations: 178.5 kB / 0.7977 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.01293, allocations: 52.53 kB / 0.7978 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.01317, allocations: 161 kB / 0.7979 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01318, allocations: 6.125 kB / 0.7979 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01318, allocations: 0 / 0.7979 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01318, allocations: 0 / 0.7979 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.01339, allocations: 276.9 kB / 0.7982 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01339, allocations: 0 / 0.7982 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.01342, allocations: 15.94 kB / 0.7982 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01343, allocations: 8.531 kB / 0.7982 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.01344, allocations: 11.98 kB / 0.7982 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01344, allocations: 3.438 kB / 0.7982 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01345, allocations: 0 / 0.7982 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.01365, allocations: 208 kB / 0.7984 GB, free: 480 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.0137, allocations: 47.7 kB / 0.7985 GB, free: 432 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.01373, allocations: 11.94 kB / 0.7985 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.429e-05/0.0138, allocations: 15.98 kB / 0.7985 GB, free: 404 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.01386, allocations: 19.95 kB / 0.7985 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.01387, allocations: 8 kB / 0.7985 GB, free: 376 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002029/0.01407, allocations: 299.5 kB / 0.7988 GB, free: 80 kB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01408, allocations: 0.5625 kB / 0.7988 GB, free: 80 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002418/0.01432, allocations: 75.88 kB / 0.7989 GB, free: 4 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.0009041/0.01522, allocations: 412.3 kB / 0.7993 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.01545, allocations: 131.1 kB / 0.7994 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01545, allocations: 1.125 kB / 0.7994 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.672e-05/0.01552, allocations: 51.59 kB / 0.7995 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.01584, allocations: 98.12 kB / 0.7996 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008532/0.01669, allocations: 0.5605 MB / 0.8001 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.856e-05/0.01676, allocations: 117.6 kB / 0.8002 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.179e-05/0.01685, allocations: 48.59 kB / 0.8003 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.01692, allocations: 36.48 kB / 0.8003 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of SimCode: time 7.51e-07/0.01692, allocations: 0 / 0.8003 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of Templates: time 0.007352/0.02428, allocations: 5.212 MB / 0.8054 GB, free: 9.547 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: 5.362530048005283]