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.002193/0.002193, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002727/0.002727, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.54/1.54, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 2.717/2.717, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 177] 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.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",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.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 4.703 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.102e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.00415/0.004181, allocations: 2.214 MB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002942/0.007123, allocations: 1.348 MB / 0.7898 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.007376, allocations: 8.906 kB / 0.7899 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005779/0.007954, allocations: 185.1 kB / 0.79 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006785/0.008633, allocations: 226.9 kB / 0.7902 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.009118, allocations: 180.1 kB / 0.7904 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006498/0.009767, allocations: 442.6 kB / 0.7908 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.009976, allocations: 74.05 kB / 0.7909 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004335/0.01041, allocations: 239.4 kB / 0.7911 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.01071, allocations: 165.1 kB / 0.7913 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.742e-05/0.01077, allocations: 24 kB / 0.7913 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.01096, allocations: 75.97 kB / 0.7914 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.01112, allocations: 119.5 kB / 0.7915 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.01129, allocations: 101.2 kB / 0.7916 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00079/0.01208, allocations: 0.4983 MB / 0.7921 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.01208, allocations: 0 / 0.7921 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.01208, allocations: 0 / 0.7921 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.0121, allocations: 1.844 kB / 0.7921 GB, free: 6.945 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.001526/0.01362, allocations: 0.6556 MB / 0.7927 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.01367, allocations: 8.031 kB / 0.7927 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.01384, allocations: 66.98 kB / 0.7928 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006883/0.01453, allocations: 364 kB / 0.7931 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.01456, allocations: 8.375 kB / 0.7932 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.01459, allocations: 20.36 kB / 0.7932 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.01501, allocations: 202.8 kB / 0.7934 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.01502, allocations: 0 / 0.7934 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.01505, allocations: 9.641 kB / 0.7934 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.01505, allocations: 4 kB / 0.7934 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.01532, allocations: 95.89 kB / 0.7935 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.01669, allocations: 0.6816 MB / 0.7941 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.01706, allocations: 138.1 kB / 0.7943 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.01721, allocations: 46.52 kB / 0.7943 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.01722, allocations: 1.938 kB / 0.7943 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003038/0.01752, allocations: 140.9 kB / 0.7945 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.01753, allocations: 0 / 0.7945 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0006807/0.01821, allocations: 229.3 kB / 0.7947 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.0183, allocations: 109.1 kB / 0.7948 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000816/0.01911, allocations: 0.576 MB / 0.7953 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.01916, allocations: 37.69 kB / 0.7954 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.01937, allocations: 212.4 kB / 0.7956 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.01942, allocations: 35.73 kB / 0.7956 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.01955, allocations: 69.69 kB / 0.7957 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.01977, allocations: 355.5 kB / 0.796 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.02, allocations: 116.3 kB / 0.7961 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.02034, allocations: 245.6 kB / 0.7964 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.02072, allocations: 192.7 kB / 0.7965 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02073, allocations: 4.5 kB / 0.7965 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007181/0.02144, allocations: 372.5 kB / 0.7969 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.02146, allocations: 5.156 kB / 0.7969 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.02147, allocations: 4.047 kB / 0.7969 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.02149, allocations: 3.984 kB / 0.7969 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.0217, allocations: 49.3 kB / 0.797 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.02172, allocations: 7.984 kB / 0.797 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.02196, allocations: 36.77 kB / 0.797 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.022, allocations: 16 kB / 0.797 GB, free: 1.629 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.000251/0.02225, allocations: 192.7 kB / 0.7972 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/0.02234, allocations: 56.86 kB / 0.7973 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.02281, allocations: 213 kB / 0.7975 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.02281, allocations: 0 / 0.7975 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.02282, allocations: 0.625 kB / 0.7975 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.02283, allocations: 4.844 kB / 0.7975 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.02316, allocations: 249.1 kB / 0.7977 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.02316, allocations: 0 / 0.7977 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/0.02321, allocations: 13.58 kB / 0.7977 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.02322, allocations: 3.938 kB / 0.7977 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.02324, allocations: 8 kB / 0.7977 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.02324, allocations: 0 / 0.7977 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02324, allocations: 0.9375 kB / 0.7977 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.02369, allocations: 237.6 kB / 0.798 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.02378, allocations: 51.11 kB / 0.798 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/0.02383, allocations: 11.94 kB / 0.798 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.02398, allocations: 15.98 kB / 0.798 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.02407, allocations: 23.95 kB / 0.7981 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.02408, allocations: 4 kB / 0.7981 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004691/0.02455, allocations: 359.1 kB / 0.7984 GB, free: 156 kB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02455, allocations: 0 / 0.7984 GB, free: 156 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003482/0.0249, allocations: 71.89 kB / 0.7985 GB, free: 84 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.002047/0.02695, allocations: 470.6 kB / 0.7989 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004779/0.02742, allocations: 197.3 kB / 0.7991 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.02743, allocations: 0 / 0.7991 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.02759, allocations: 64.59 kB / 0.7992 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.02815, allocations: 104.5 kB / 0.7993 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.02933, allocations: 0.65 MB / 0.7999 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.02958, allocations: 216.3 kB / 0.8001 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.02974, allocations: 54.94 kB / 0.8002 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.02985, allocations: 40.48 kB / 0.8002 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of SimCode: time 8.62e-07/0.02985, allocations: 0 / 0.8002 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of Templates: time 0.01151/0.04136, allocations: 5.217 MB / 0.8053 GB, free: 9.344 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.80519267404452]