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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 102.9 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 196.4 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.576/2.576, allocations: 469.8 MB / 0.7427 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 60.44 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3031, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003865/0.307, allocations: 2.293 MB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.3091, allocations: 1.243 MB / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.3092, allocations: 11.88 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000476/0.3097, allocations: 167.5 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.3101, allocations: 151.4 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.3106, allocations: 226.9 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.3111, allocations: 402.9 kB / 1.069 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.3113, allocations: 101.3 kB / 1.069 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.3115, allocations: 179.2 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.3118, allocations: 179.3 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.3118, allocations: 24 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.312, allocations: 75.91 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.3121, allocations: 119.6 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.3123, allocations: 162.9 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.3127, allocations: 395.4 kB / 1.07 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3127, allocations: 0 / 1.07 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3127, allocations: 0 / 1.07 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.3127, allocations: 0 / 1.07 GB, free: 9.434 MB / 0.8419 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.001149/0.3139, allocations: 0.7002 MB / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3139, allocations: 12.03 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.578e-05/0.314, allocations: 48.36 kB / 1.07 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.3146, allocations: 410.2 kB / 1.071 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3146, allocations: 12.31 kB / 1.071 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.3147, allocations: 19.94 kB / 1.071 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.315, allocations: 176.1 kB / 1.071 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3151, allocations: 0 / 1.071 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.3151, allocations: 12 kB / 1.071 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3151, allocations: 0 / 1.071 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.3153, allocations: 91.89 kB / 1.071 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.3165, allocations: 0.7777 MB / 1.072 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.3168, allocations: 141.4 kB / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.3169, allocations: 57.62 kB / 1.072 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.317, allocations: 4 kB / 1.072 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.3172, allocations: 121.1 kB / 1.072 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.3173, allocations: 0 / 1.072 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0005586/0.3178, allocations: 225.1 kB / 1.072 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.3179, allocations: 102.8 kB / 1.073 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006924/0.3186, allocations: 0.5836 MB / 1.073 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.3187, allocations: 33.7 kB / 1.073 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.3188, allocations: 196.4 kB / 1.073 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.3189, allocations: 27.7 kB / 1.073 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.319, allocations: 81.69 kB / 1.073 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.3192, allocations: 366.6 kB / 1.074 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.3194, allocations: 104 kB / 1.074 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.3196, allocations: 167.5 kB / 1.074 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.32, allocations: 196.8 kB / 1.074 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.32, allocations: 0 / 1.074 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005732/0.3206, allocations: 337 kB / 1.075 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3206, allocations: 8 kB / 1.075 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3206, allocations: 4.094 kB / 1.075 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3206, allocations: 4 kB / 1.075 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.3208, allocations: 47.92 kB / 1.075 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.3209, allocations: 7.984 kB / 1.075 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.3211, allocations: 39.72 kB / 1.075 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.3211, allocations: 8 kB / 1.075 GB, free: 4.07 MB / 0.8419 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.0002147/0.3213, allocations: 201.6 kB / 1.075 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.3214, allocations: 35.53 kB / 1.075 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.027e-05/0.3215, allocations: 47.36 kB / 1.075 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3215, allocations: 0 / 1.075 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3215, allocations: 0 / 1.075 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3215, allocations: 4 kB / 1.075 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.3218, allocations: 337.3 kB / 1.075 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3219, allocations: 0 / 1.075 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.3219, allocations: 8 kB / 1.075 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3219, allocations: 4 kB / 1.075 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3219, allocations: 3.984 kB / 1.075 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3219, allocations: 8 kB / 1.075 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3219, allocations: 0 / 1.075 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.3223, allocations: 217.7 kB / 1.075 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3224, allocations: 112.6 kB / 1.076 GB, free: 3.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.3225, allocations: 15.98 kB / 1.076 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3226, allocations: 15.98 kB / 1.076 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.3227, allocations: 23.97 kB / 1.076 GB, free: 2.957 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3227, allocations: 8 kB / 1.076 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004102/0.3231, allocations: 359.1 kB / 1.076 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3231, allocations: 0 / 1.076 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003099/0.3235, allocations: 71.84 kB / 1.076 GB, free: 2.531 MB / 0.8419 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 (TTanTop.tab.nextTimeEventScaled,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001478/0.3249, allocations: 427.8 kB / 1.076 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.3254, allocations: 214.2 kB / 1.077 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3254, allocations: 0 / 1.077 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.3255, allocations: 55.92 kB / 1.077 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.3261, allocations: 103.3 kB / 1.077 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3272, allocations: 0.7383 MB / 1.078 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.3276, allocations: 0.8106 MB / 1.078 GB, free: 308 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.044e-05/0.3277, allocations: 35.42 kB / 1.078 GB, free: 272 kB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3277, allocations: 0 / 1.078 GB, free: 272 kB / 0.8419 GB Notification: Performance of Templates: time 0.4459/0.7737, allocations: 5.05 MB / 1.083 GB, free: 21.7 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches