Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tri.y|hex1.con.I.y|hex2.con.I.y|hex3.con.I.y|TSen1.T|hex1.TSet|TSen2.T|hex2.TSet|TSen3.T|hex3.TSet",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tri.y|hex1.con.I.y|hex2.con.I.y|hex3.con.I.y|TSen1.T|hex1.TSet|TSen2.T|hex2.TSet|TSen3.T|hex3.TSet",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.297/2.297, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009785/0.0009784, allocations: 176.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.809/1.809, allocations: 221.3 MB / 0.7915 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009284/0.0009282, allocations: 91.95 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.282e-05/4.286e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3583, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.494/1.852, allocations: 451.3 MB / 1.66 GB, free: 15.1 MB / 1.12 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/1.853, allocations: 99.94 kB / 1.66 GB, free: 15 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 10.98/12.83, allocations: 2.657 GB / 4.317 GB, free: 66.31 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.615e-06/12.83, allocations: 0 / 4.317 GB, free: 66.31 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.001171/12.83, allocations: 168.9 kB / 4.317 GB, free: 66.26 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.01943/12.85, allocations: 5.726 MB / 4.323 GB, free: 62.32 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/12.85, allocations: 7.875 kB / 4.323 GB, free: 62.32 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007929/12.86, allocations: 1.35 MB / 4.324 GB, free: 61.01 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01711/12.88, allocations: 6.42 MB / 4.33 GB, free: 54.54 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002002/12.88, allocations: 0.6918 MB / 4.331 GB, free: 53.85 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00174/12.88, allocations: 407.9 kB / 4.331 GB, free: 53.45 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009077/12.89, allocations: 4.384 MB / 4.335 GB, free: 48.93 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-05/12.89, allocations: 7.938 kB / 4.335 GB, free: 48.92 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005236/12.89, allocations: 155.9 kB / 4.336 GB, free: 48.77 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/12.89, allocations: 147.1 kB / 4.336 GB, free: 48.63 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007137/12.9, allocations: 3.648 MB / 4.339 GB, free: 44.98 MB / 1.245 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04463/12.94, allocations: 22.34 MB / 4.361 GB, free: 21.44 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/12.95, allocations: 2.262 MB / 4.363 GB, free: 19.11 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/12.95, allocations: 1.233 MB / 4.365 GB, free: 17.88 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/12.95, allocations: 1.924 MB / 4.366 GB, free: 15.55 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002229/12.95, allocations: 1.451 MB / 4.368 GB, free: 14.08 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004206/12.96, allocations: 492.7 kB / 4.368 GB, free: 13.59 MB / 1.245 GB Notification: Performance of pre-optimization done (n=236): time 7.635e-06/12.96, allocations: 0 / 4.368 GB, free: 13.59 MB / 1.245 GB Notification: Performance of matching and sorting (n=236): time 0.005396/12.96, allocations: 2.847 MB / 4.371 GB, free: 10.73 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/12.96, allocations: 265.3 kB / 4.371 GB, free: 10.41 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007981/12.97, allocations: 4.518 MB / 4.376 GB, free: 5.906 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.0009408/12.97, allocations: 85.64 kB / 4.376 GB, free: 5.816 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.002626/12.97, allocations: 2.632 MB / 4.378 GB, free: 3.172 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/12.97, allocations: 0.8047 MB / 4.379 GB, free: 2.355 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/12.98, allocations: 56 kB / 4.379 GB, free: 2.301 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0001909/12.98, allocations: 424.2 kB / 4.38 GB, free: 1.879 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/12.98, allocations: 1.131 MB / 4.381 GB, free: 0.7461 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/12.98, allocations: 2.053 MB / 4.383 GB, free: 14.32 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/12.98, allocations: 1.406 MB / 4.384 GB, free: 12.89 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/12.98, allocations: 4 kB / 4.384 GB, free: 12.88 MB / 1.26 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.008574/12.99, allocations: 3.767 MB / 4.388 GB, free: 9.059 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.003684/12.99, allocations: 9.023 MB / 4.397 GB, free: 15.67 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/12.99, allocations: 16 kB / 4.397 GB, free: 15.65 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.776e-05/12.99, allocations: 40 kB / 4.397 GB, free: 15.61 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005445/13, allocations: 0.9828 MB / 4.398 GB, free: 14.63 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003229/13, allocations: 5.407 MB / 4.403 GB, free: 9.012 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007867/13.01, allocations: 0.5148 MB / 4.403 GB, free: 8.496 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/13.01, allocations: 159.9 kB / 4.404 GB, free: 8.34 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/13.01, allocations: 4 kB / 4.404 GB, free: 8.336 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009163/13.02, allocations: 3.233 MB / 4.407 GB, free: 5.062 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-05/13.02, allocations: 20 kB / 4.407 GB, free: 5.043 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.622e-05/13.02, allocations: 36.12 kB / 4.407 GB, free: 5.008 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/13.03, allocations: 0.9119 MB / 4.408 GB, free: 4.098 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.653e-05/13.03, allocations: 43.86 kB / 4.408 GB, free: 4.055 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007162/13.03, allocations: 0.5069 MB / 4.408 GB, free: 3.547 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000785/13.03, allocations: 159.9 kB / 4.408 GB, free: 3.391 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,hex1.trigger,$PRE.tri.pulseStart,tri.pulseStart,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex3.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (378): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001564/13.04, allocations: 322.9 kB / 4.409 GB, free: 3.062 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002533/13.04, allocations: 0.571 MB / 4.409 GB, free: 2.484 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.175/14.21, allocations: 3.681 MB / 4.413 GB, free: 110.3 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.122e-05/14.21, allocations: 33.25 kB / 4.413 GB, free: 110.3 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/14.21, allocations: 1.594 kB / 4.413 GB, free: 110.3 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00714/14.22, allocations: 2.677 MB / 4.416 GB, free: 110 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02488/14.25, allocations: 8.506 MB / 4.424 GB, free: 109.4 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/14.25, allocations: 1.969 kB / 4.424 GB, free: 109.4 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003619/14.25, allocations: 0.7107 MB / 4.425 GB, free: 109.4 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.711e-05/14.25, allocations: 10.47 kB / 4.425 GB, free: 109.4 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002614/14.25, allocations: 88.98 kB / 4.425 GB, free: 109.4 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/14.25, allocations: 5.353 MB / 4.43 GB, free: 104.1 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/14.25, allocations: 4.25 kB / 4.43 GB, free: 104.1 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/14.26, allocations: 5.355 MB / 4.435 GB, free: 103.4 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005517/14.27, allocations: 1.203 MB / 4.436 GB, free: 103.1 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002446/14.27, allocations: 61.39 kB / 4.436 GB, free: 103.1 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00647/14.28, allocations: 484.3 kB / 4.437 GB, free: 103.1 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004654/14.28, allocations: 181.6 kB / 4.437 GB, free: 103.1 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004749/14.28, allocations: 122.7 kB / 4.437 GB, free: 103.1 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.009912/14.29, allocations: 3.435 MB / 4.44 GB, free: 102.9 MB / 1.276 GB Notification: Performance of sort global known variables: time 5.01e-07/14.29, allocations: 2.938 kB / 4.44 GB, free: 102.9 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01673/14.3, allocations: 2.752 MB / 4.443 GB, free: 102.8 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 15 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.s[1],hex1.thrWayVal.filter.s[2],hex1.con.I.y,TSen1.T,TSen2.T,hex2.thrWayVal.vol.dynBal.U,hex2.thrWayVal.filter.s[1],hex2.thrWayVal.filter.s[2],hex2.con.I.y,hex3.thrWayVal.vol.dynBal.U,hex3.thrWayVal.filter.s[1],hex3.thrWayVal.filter.s[2],hex3.con.I.y,TSen3.T) * Number of discrete variables: 10 (hex1.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,tri.pulseStart) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 256 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 13 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009786/14.31, allocations: 2.599 MB / 4.446 GB, free: 102 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.01708/14.33, allocations: 5.138 MB / 4.451 GB, free: 101.7 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/14.33, allocations: 2.938 kB / 4.451 GB, free: 101.7 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.004868/14.34, allocations: 1.589 MB / 4.452 GB, free: 101.6 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02185/14.36, allocations: 2.872 MB / 4.455 GB, free: 101.6 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02872/14.39, allocations: 7.86 MB / 4.463 GB, free: 99.64 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006783/14.39, allocations: 2.947 MB / 4.466 GB, free: 98.84 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01588/14.41, allocations: 1.592 MB / 4.467 GB, free: 98.79 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/14.41, allocations: 354.9 kB / 4.467 GB, free: 98.79 MB / 1.276 GB Notification: Performance of SimCode: time 2.134e-06/14.41, allocations: 0 / 4.467 GB, free: 98.79 MB / 1.276 GB Notification: Performance of Templates: time 0.2216/14.63, allocations: 127.7 MB / 4.592 GB, free: 91.85 MB / 1.276 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches