Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 387.1 MB / 399.7 MB, free: 9.516 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.0012/0.0012, allocations: 172.9 kB / 492.3 MB, free: 0.5938 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.735/1.735, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001005/0.001005, allocations: 97.47 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.966e-05/4.968e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3527, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.569/1.922, allocations: 450.6 MB / 1.652 GB, free: 12.31 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/1.922, allocations: 100.6 kB / 1.653 GB, free: 12.25 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 11.45/13.37, allocations: 2.657 GB / 4.31 GB, free: 87.93 MB / 1.26 GB Notification: Performance of FrontEnd: time 1.963e-06/13.37, allocations: 0 / 4.31 GB, free: 87.93 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001219/13.37, allocations: 164.8 kB / 4.31 GB, free: 87.89 MB / 1.26 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.0241/13.39, allocations: 5.722 MB / 4.316 GB, free: 85.18 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/13.39, allocations: 9.75 kB / 4.316 GB, free: 85.18 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/13.41, allocations: 1.354 MB / 4.317 GB, free: 84.81 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03195/13.44, allocations: 6.424 MB / 4.323 GB, free: 83.75 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003999/13.44, allocations: 0.6852 MB / 4.324 GB, free: 83.74 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002597/13.44, allocations: 407.1 kB / 4.324 GB, free: 83.74 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/13.47, allocations: 4.389 MB / 4.329 GB, free: 83.25 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002999/13.47, allocations: 7.5 kB / 4.329 GB, free: 83.24 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002202/13.47, allocations: 152.4 kB / 4.329 GB, free: 83.24 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002933/13.47, allocations: 143.7 kB / 4.329 GB, free: 83.23 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/13.48, allocations: 3.652 MB / 4.332 GB, free: 83.18 MB / 1.26 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.05279/13.54, allocations: 22.35 MB / 4.354 GB, free: 73.95 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005737/13.54, allocations: 2.25 MB / 4.356 GB, free: 73.62 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002643/13.55, allocations: 1.228 MB / 4.358 GB, free: 73.61 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/13.55, allocations: 1.923 MB / 4.359 GB, free: 71.54 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003212/13.55, allocations: 1.454 MB / 4.361 GB, free: 71.43 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00435/13.56, allocations: 499.6 kB / 4.361 GB, free: 71.24 MB / 1.26 GB Notification: Performance of pre-optimization done (n=236): time 1.802e-05/13.56, allocations: 0 / 4.361 GB, free: 71.24 MB / 1.26 GB Notification: Performance of matching and sorting (n=236): time 0.007386/13.56, allocations: 2.852 MB / 4.364 GB, free: 70.83 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/13.56, allocations: 263.4 kB / 4.364 GB, free: 70.55 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01105/13.57, allocations: 4.508 MB / 4.369 GB, free: 70.15 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001052/13.58, allocations: 91.72 kB / 4.369 GB, free: 70.11 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.003466/13.58, allocations: 2.642 MB / 4.371 GB, free: 69.46 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001443/13.58, allocations: 0.804 MB / 4.372 GB, free: 68.95 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00067/13.58, allocations: 54.19 kB / 4.372 GB, free: 68.95 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0002555/13.58, allocations: 423.5 kB / 4.373 GB, free: 68.64 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/13.58, allocations: 1.133 MB / 4.374 GB, free: 68.63 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003515/13.59, allocations: 2.06 MB / 4.376 GB, free: 67.59 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00325/13.59, allocations: 1.398 MB / 4.377 GB, free: 67.45 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.95e-05/13.59, allocations: 5.312 kB / 4.377 GB, free: 67.45 MB / 1.26 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.00928/13.6, allocations: 3.767 MB / 4.381 GB, free: 66.89 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.001796/13.6, allocations: 9.024 MB / 4.39 GB, free: 57.69 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.164e-05/13.6, allocations: 22.36 kB / 4.39 GB, free: 57.69 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.796e-05/13.6, allocations: 33.94 kB / 4.39 GB, free: 57.69 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005048/13.61, allocations: 0.9823 MB / 4.391 GB, free: 57.62 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/13.61, allocations: 5.404 MB / 4.396 GB, free: 52.32 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007372/13.62, allocations: 0.5155 MB / 4.397 GB, free: 52.26 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009053/13.62, allocations: 157.4 kB / 4.397 GB, free: 52.26 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/13.62, allocations: 3.844 kB / 4.397 GB, free: 52.26 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00811/13.63, allocations: 3.235 MB / 4.4 GB, free: 52.01 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.818e-05/13.63, allocations: 16.84 kB / 4.4 GB, free: 52.01 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.169e-05/13.63, allocations: 36.56 kB / 4.4 GB, free: 52.01 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00487/13.63, allocations: 0.9078 MB / 4.401 GB, free: 51.95 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001237/13.63, allocations: 43.14 kB / 4.401 GB, free: 51.94 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008184/13.64, allocations: 0.5036 MB / 4.401 GB, free: 51.89 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/13.64, allocations: 161.6 kB / 4.401 GB, free: 51.88 MB / 1.26 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.002517/13.64, allocations: 325 kB / 4.402 GB, free: 51.69 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00344/13.65, allocations: 0.5693 MB / 4.402 GB, free: 51.39 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/13.66, allocations: 3.695 MB / 4.406 GB, free: 51.05 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.291e-05/13.66, allocations: 32.22 kB / 4.406 GB, free: 51.05 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/13.66, allocations: 4 kB / 4.406 GB, free: 51.05 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004985/13.66, allocations: 2.677 MB / 4.409 GB, free: 49.86 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02139/13.69, allocations: 8.526 MB / 4.417 GB, free: 46.07 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/13.69, allocations: 7.078 kB / 4.417 GB, free: 46.06 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003354/13.69, allocations: 0.7062 MB / 4.418 GB, free: 46 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-05/13.69, allocations: 18.62 kB / 4.418 GB, free: 46 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003061/13.69, allocations: 82.83 kB / 4.418 GB, free: 45.96 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/13.69, allocations: 5.349 MB / 4.423 GB, free: 40.59 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/13.69, allocations: 0 / 4.423 GB, free: 40.59 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00944/13.7, allocations: 5.36 MB / 4.428 GB, free: 37.76 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004895/13.71, allocations: 1.204 MB / 4.429 GB, free: 36.98 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002447/13.71, allocations: 58.88 kB / 4.429 GB, free: 36.94 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006186/13.71, allocations: 481 kB / 4.43 GB, free: 36.85 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004438/13.71, allocations: 182.5 kB / 4.43 GB, free: 36.82 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004954/13.72, allocations: 126.3 kB / 4.43 GB, free: 36.79 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.008981/13.72, allocations: 3.434 MB / 4.433 GB, free: 35.44 MB / 1.26 GB Notification: Performance of sort global known variables: time 5.51e-07/13.72, allocations: 3.75 kB / 4.433 GB, free: 35.44 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.01569/13.74, allocations: 2.76 MB / 4.436 GB, free: 34.84 MB / 1.26 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.005845/13.75, allocations: 2.599 MB / 4.439 GB, free: 33.52 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.01382/13.76, allocations: 5.141 MB / 4.444 GB, free: 31.39 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 2.231e-05/13.76, allocations: 6.125 kB / 4.444 GB, free: 31.39 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.004192/13.76, allocations: 1.596 MB / 4.445 GB, free: 30.72 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01796/13.78, allocations: 2.866 MB / 4.448 GB, free: 30.11 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/13.81, allocations: 7.852 MB / 4.456 GB, free: 25.08 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004935/13.81, allocations: 2.947 MB / 4.459 GB, free: 22.94 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.0153/13.83, allocations: 1.604 MB / 4.46 GB, free: 21.9 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001759/13.83, allocations: 356.1 kB / 4.461 GB, free: 21.59 MB / 1.26 GB Notification: Performance of SimCode: time 1.893e-06/13.83, allocations: 0 / 4.461 GB, free: 21.59 MB / 1.26 GB Notification: Performance of Templates: time 1.261/15.09, allocations: 127.7 MB / 4.585 GB, free: 121.3 MB / 1.292 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches