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.000966/0.000966, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001091/0.001091, allocations: 169 kB / 24.28 MB, free: 280 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.97/0.97, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.788/1.788, allocations: 359 MB / 0.6055 GB, free: 10.95 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.673e-06/1.673e-06, allocations: 0.9844 kB / 0.7871 GB, free: 11.67 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.733e-05, allocations: 2.969 kB / 0.7871 GB, free: 11.66 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002898/0.002926, allocations: 2.275 MB / 0.7893 GB, free: 9.391 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.004588, allocations: 1.395 MB / 0.7907 GB, free: 7.992 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.004732, allocations: 8.844 kB / 0.7907 GB, free: 7.984 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.005175, allocations: 171.6 kB / 0.7908 GB, free: 7.816 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.005554, allocations: 232.2 kB / 0.7911 GB, free: 7.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.005825, allocations: 184.4 kB / 0.7912 GB, free: 7.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003615/0.006186, allocations: 442.7 kB / 0.7917 GB, free: 6.977 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.006352, allocations: 62.25 kB / 0.7917 GB, free: 6.918 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.006554, allocations: 235.4 kB / 0.7919 GB, free: 6.688 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.006733, allocations: 170.1 kB / 0.7921 GB, free: 6.523 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.006769, allocations: 28 kB / 0.7921 GB, free: 6.496 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.006894, allocations: 71.97 kB / 0.7922 GB, free: 6.426 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.006998, allocations: 115.5 kB / 0.7923 GB, free: 6.312 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.893e-05/0.007087, allocations: 107.6 kB / 0.7924 GB, free: 6.207 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.007506, allocations: 326.7 kB / 0.7927 GB, free: 5.887 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.007509, allocations: 1.625 kB / 0.7927 GB, free: 5.887 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.00751, allocations: 0 / 0.7927 GB, free: 5.887 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.007516, allocations: 0 / 0.7927 GB, free: 5.887 MB / 0.698 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.0007542/0.00827, allocations: 0.7635 MB / 0.7935 GB, free: 5.086 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.008304, allocations: 8.719 kB / 0.7935 GB, free: 5.078 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.088e-05/0.008385, allocations: 56.66 kB / 0.7935 GB, free: 5.023 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.008751, allocations: 335.8 kB / 0.7939 GB, free: 4.672 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.008772, allocations: 12.36 kB / 0.7939 GB, free: 4.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.008793, allocations: 16.97 kB / 0.7939 GB, free: 4.645 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.009032, allocations: 192.2 kB / 0.7941 GB, free: 4.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.00904, allocations: 0 / 0.7941 GB, free: 4.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.009054, allocations: 5.156 kB / 0.7941 GB, free: 4.426 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.009062, allocations: 4 kB / 0.7941 GB, free: 4.422 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.155e-05/0.009154, allocations: 55.83 kB / 0.7941 GB, free: 4.367 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.00988, allocations: 0.7991 MB / 0.7949 GB, free: 3.523 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.01006, allocations: 116.3 kB / 0.795 GB, free: 3.387 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.01012, allocations: 35.36 kB / 0.7951 GB, free: 3.344 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.01013, allocations: 5.531 kB / 0.7951 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.01028, allocations: 120.2 kB / 0.7952 GB, free: 3.199 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.01029, allocations: 0 / 0.7952 GB, free: 3.199 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0002975/0.01058, allocations: 173.9 kB / 0.7953 GB, free: 3.023 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.01063, allocations: 116.7 kB / 0.7955 GB, free: 2.887 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.01101, allocations: 498.6 kB / 0.7959 GB, free: 2.379 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.01103, allocations: 33.7 kB / 0.796 GB, free: 2.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.01117, allocations: 259.2 kB / 0.7962 GB, free: 2.078 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.0112, allocations: 39.73 kB / 0.7962 GB, free: 2.039 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.01128, allocations: 81.86 kB / 0.7963 GB, free: 1.953 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.01141, allocations: 0.5274 MB / 0.7968 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.01149, allocations: 43.97 kB / 0.7969 GB, free: 1.371 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.01163, allocations: 191.8 kB / 0.7971 GB, free: 1.137 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.01178, allocations: 133.9 kB / 0.7972 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01178, allocations: 0.7188 kB / 0.7972 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000293/0.01207, allocations: 247.6 kB / 0.7974 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.01209, allocations: 5.625 kB / 0.7974 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01209, allocations: 3.984 kB / 0.7974 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.01211, allocations: 4 kB / 0.7974 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.01225, allocations: 52.41 kB / 0.7975 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.01225, allocations: 4.594 kB / 0.7975 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.742e-05/0.01235, allocations: 28.81 kB / 0.7975 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.01237, allocations: 15.98 kB / 0.7975 GB, free: 0.6328 MB / 0.698 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.0001104/0.01248, allocations: 184.4 kB / 0.7977 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.01252, allocations: 47.77 kB / 0.7978 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.01274, allocations: 168.9 kB / 0.7979 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01274, allocations: 0.8438 kB / 0.7979 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.01274, allocations: 4 kB / 0.7979 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.01275, allocations: 5.5 kB / 0.7979 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.01297, allocations: 268.5 kB / 0.7982 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01297, allocations: 0 / 0.7982 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.013, allocations: 15.94 kB / 0.7982 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.013, allocations: 9 kB / 0.7982 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.01301, allocations: 3.984 kB / 0.7982 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.01302, allocations: 4 kB / 0.7982 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01302, allocations: 2 kB / 0.7982 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.01322, allocations: 208.7 kB / 0.7984 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.01326, allocations: 51.64 kB / 0.7985 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.0133, allocations: 11.94 kB / 0.7985 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/0.01336, allocations: 14.33 kB / 0.7985 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.01342, allocations: 23.95 kB / 0.7985 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.01343, allocations: 4 kB / 0.7985 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001927/0.01362, allocations: 307 kB / 0.7988 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01362, allocations: 0 / 0.7988 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000224/0.01384, allocations: 75.86 kB / 0.7989 GB, free: 15.19 MB / 0.7136 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.0009569/0.0148, allocations: 398.3 kB / 0.7993 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.01503, allocations: 131.5 kB / 0.7994 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01503, allocations: 0 / 0.7994 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.647e-05/0.0151, allocations: 43.67 kB / 0.7994 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.01543, allocations: 113.9 kB / 0.7995 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009537/0.01638, allocations: 0.5491 MB / 0.8001 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.049e-05/0.01645, allocations: 116.6 kB / 0.8002 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.638e-05/0.01654, allocations: 50.94 kB / 0.8002 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.252e-05/0.01661, allocations: 44.42 kB / 0.8003 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of SimCode: time 1.212e-06/0.01661, allocations: 0 / 0.8003 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of Templates: time 0.007486/0.0241, allocations: 5.217 MB / 0.8054 GB, free: 8.738 MB / 0.7136 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.156813985900953]