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.242/2.242, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001048/0.001048, allocations: 186.2 kB / 0.4902 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.0009278/0.0009279, allocations: 96.33 kB / 0.9396 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004085, allocations: 8 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3558, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.372/1.727, allocations: 451.4 MB / 1.67 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000384/1.728, allocations: 111.9 kB / 1.67 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 12.09/13.82, allocations: 2.665 GB / 4.335 GB, free: 94.56 MB / 1.276 GB Notification: Performance of FrontEnd: time 2.936e-06/13.82, allocations: 0 / 4.335 GB, free: 94.56 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.00167/13.82, allocations: 167.4 kB / 4.335 GB, free: 94.53 MB / 1.276 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.03431/13.85, allocations: 6.934 MB / 4.342 GB, free: 91.56 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 6.876e-05/13.85, allocations: 8.969 kB / 4.342 GB, free: 91.56 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/13.86, allocations: 1.354 MB / 4.343 GB, free: 91.19 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02522/13.89, allocations: 6.489 MB / 4.35 GB, free: 90.23 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002312/13.89, allocations: 0.6842 MB / 4.35 GB, free: 90.22 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/13.89, allocations: 415.5 kB / 4.351 GB, free: 90.21 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/13.91, allocations: 4.772 MB / 4.355 GB, free: 89.74 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/13.91, allocations: 7.875 kB / 4.355 GB, free: 89.74 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006024/13.91, allocations: 153.5 kB / 4.356 GB, free: 89.74 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/13.91, allocations: 141.5 kB / 4.356 GB, free: 89.73 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01198/13.93, allocations: 4.391 MB / 4.36 GB, free: 89.7 MB / 1.276 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.05211/13.98, allocations: 22.34 MB / 4.382 GB, free: 80.78 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009428/13.99, allocations: 2.907 MB / 4.385 GB, free: 80.45 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002572/13.99, allocations: 1.916 MB / 4.387 GB, free: 78.39 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0061/14, allocations: 1.803 MB / 4.388 GB, free: 78.28 MB / 1.276 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00544/14, allocations: 497.6 kB / 4.389 GB, free: 78.12 MB / 1.276 GB Notification: Performance of pre-optimization done (n=236): time 2.205e-05/14, allocations: 0 / 4.389 GB, free: 78.12 MB / 1.276 GB Notification: Performance of matching and sorting (n=236): time 0.01643/14.02, allocations: 4.933 MB / 4.394 GB, free: 77.61 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/14.02, allocations: 264.1 kB / 4.394 GB, free: 77.32 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01502/14.03, allocations: 4.58 MB / 4.398 GB, free: 76.96 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.001283/14.03, allocations: 85.83 kB / 4.398 GB, free: 76.93 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.004487/14.04, allocations: 2.65 MB / 4.401 GB, free: 76.27 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.001795/14.04, allocations: 0.7971 MB / 4.402 GB, free: 75.75 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009375/14.04, allocations: 61.28 kB / 4.402 GB, free: 75.75 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0003629/14.04, allocations: 417.9 kB / 4.402 GB, free: 75.45 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004544/14.05, allocations: 1.487 MB / 4.404 GB, free: 75.44 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005419/14.05, allocations: 2.406 MB / 4.406 GB, free: 74.45 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004927/14.06, allocations: 1.744 MB / 4.408 GB, free: 74.36 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.752e-05/14.06, allocations: 3.906 kB / 4.408 GB, free: 74.36 MB / 1.276 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01476/14.07, allocations: 4.47 MB / 4.412 GB, free: 73.92 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.00359/14.08, allocations: 9.033 MB / 4.421 GB, free: 64.77 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/14.08, allocations: 18.12 kB / 4.421 GB, free: 64.77 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.206e-05/14.08, allocations: 38.47 kB / 4.421 GB, free: 64.77 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006673/14.08, allocations: 0.9724 MB / 4.422 GB, free: 64.75 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003355/14.09, allocations: 5.409 MB / 4.427 GB, free: 59.47 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01031/14.1, allocations: 0.5194 MB / 4.428 GB, free: 59.4 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001735/14.1, allocations: 159.7 kB / 4.428 GB, free: 59.4 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/14.1, allocations: 9.172 kB / 4.428 GB, free: 59.4 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01507/14.11, allocations: 3.934 MB / 4.432 GB, free: 59.21 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/14.11, allocations: 17.59 kB / 4.432 GB, free: 59.21 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.358e-05/14.11, allocations: 34.81 kB / 4.432 GB, free: 59.21 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004631/14.12, allocations: 0.9108 MB / 4.433 GB, free: 59.19 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000112/14.12, allocations: 43.94 kB / 4.433 GB, free: 59.19 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007743/14.13, allocations: 0.5103 MB / 4.433 GB, free: 59.13 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/14.13, allocations: 153.9 kB / 4.433 GB, free: 59.13 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 () * Number of clocked 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.005701/14.13, allocations: 1.212 MB / 4.435 GB, free: 58.9 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002846/14.14, allocations: 0.5692 MB / 4.435 GB, free: 58.59 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/14.15, allocations: 4.38 MB / 4.439 GB, free: 58.23 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-05/14.15, allocations: 33.38 kB / 4.439 GB, free: 58.23 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/14.15, allocations: 0 / 4.439 GB, free: 58.23 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008043/14.16, allocations: 3.368 MB / 4.443 GB, free: 57.89 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02879/14.19, allocations: 9.212 MB / 4.452 GB, free: 57.16 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-05/14.19, allocations: 6.625 kB / 4.452 GB, free: 57.16 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003681/14.19, allocations: 0.7157 MB / 4.452 GB, free: 57.14 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-05/14.19, allocations: 18.75 kB / 4.452 GB, free: 57.14 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005179/14.19, allocations: 84.56 kB / 4.452 GB, free: 57.14 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/14.19, allocations: 5.357 MB / 4.458 GB, free: 51.86 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/14.19, allocations: 3.625 kB / 4.458 GB, free: 51.86 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/14.21, allocations: 6.395 MB / 4.464 GB, free: 50.68 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005081/14.21, allocations: 1.211 MB / 4.465 GB, free: 50.26 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002483/14.22, allocations: 57.16 kB / 4.465 GB, free: 50.26 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006469/14.22, allocations: 473.6 kB / 4.466 GB, free: 50.21 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004463/14.22, allocations: 187.2 kB / 4.466 GB, free: 50.2 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005196/14.22, allocations: 124.1 kB / 4.466 GB, free: 50.2 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.0101/14.23, allocations: 3.503 MB / 4.469 GB, free: 49.98 MB / 1.276 GB Notification: Performance of sort global known variables: time 5.81e-07/14.23, allocations: 0 / 4.469 GB, free: 49.98 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01507/14.25, allocations: 2.753 MB / 4.472 GB, free: 49.69 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) * Number of clocked states: 0 () * 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.006156/14.25, allocations: 2.607 MB / 4.475 GB, free: 48.5 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.01625/14.27, allocations: 5.973 MB / 4.48 GB, free: 48.18 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/14.27, allocations: 7.312 kB / 4.48 GB, free: 48.18 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.004849/14.28, allocations: 1.942 MB / 4.482 GB, free: 48.07 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01712/14.29, allocations: 2.862 MB / 4.485 GB, free: 47.93 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02974/14.32, allocations: 11.92 MB / 4.497 GB, free: 42.56 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00536/14.33, allocations: 2.936 MB / 4.5 GB, free: 41.69 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01114/14.34, allocations: 1.271 MB / 4.501 GB, free: 41.49 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002707/14.34, allocations: 457.9 kB / 4.501 GB, free: 41.48 MB / 1.276 GB Notification: Performance of SimCode: time 2.565e-06/14.34, allocations: 0 / 4.501 GB, free: 41.48 MB / 1.276 GB Notification: Performance of Templates: time 0.2166/14.56, allocations: 120.1 MB / 4.619 GB, free: 6.773 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