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.235/2.235, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001115/0.001115, allocations: 169.2 kB / 498.1 MB, free: 5.734 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.65/1.65, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009874/0.000987, allocations: 100.2 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 6.875 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3327, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.429/1.761, allocations: 450.6 MB / 1.663 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004491/1.762, allocations: 107.4 kB / 1.663 GB, free: 10.63 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 12.15/13.91, allocations: 2.665 GB / 4.328 GB, free: 85.78 MB / 1.26 GB Notification: Performance of FrontEnd: time 2.525e-06/13.91, allocations: 0 / 4.328 GB, free: 85.78 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001644/13.91, allocations: 161.4 kB / 4.328 GB, free: 85.75 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.02914/13.94, allocations: 6.935 MB / 4.335 GB, free: 82.77 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/13.94, allocations: 7.531 kB / 4.335 GB, free: 82.77 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008493/13.95, allocations: 1.348 MB / 4.336 GB, free: 82.39 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0294/13.98, allocations: 6.487 MB / 4.343 GB, free: 81.43 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002405/13.98, allocations: 0.6874 MB / 4.343 GB, free: 81.43 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002559/13.98, allocations: 415.7 kB / 4.344 GB, free: 81.42 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02264/14.01, allocations: 4.769 MB / 4.349 GB, free: 80.95 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004517/14.01, allocations: 8.562 kB / 4.349 GB, free: 80.95 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002435/14.01, allocations: 163.2 kB / 4.349 GB, free: 80.95 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000188/14.01, allocations: 142.1 kB / 4.349 GB, free: 80.94 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/14.02, allocations: 4.386 MB / 4.353 GB, free: 80.91 MB / 1.26 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.05619/14.08, allocations: 22.34 MB / 4.375 GB, free: 71.98 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006636/14.09, allocations: 2.913 MB / 4.378 GB, free: 71.66 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001659/14.09, allocations: 1.918 MB / 4.38 GB, free: 69.6 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004486/14.09, allocations: 1.8 MB / 4.381 GB, free: 69.49 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005277/14.1, allocations: 495.8 kB / 4.382 GB, free: 69.33 MB / 1.26 GB Notification: Performance of pre-optimization done (n=236): time 1.959e-05/14.1, allocations: 0 / 4.382 GB, free: 69.33 MB / 1.26 GB Notification: Performance of matching and sorting (n=236): time 0.01428/14.11, allocations: 4.933 MB / 4.387 GB, free: 68.82 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/14.11, allocations: 264.1 kB / 4.387 GB, free: 68.54 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0141/14.13, allocations: 4.587 MB / 4.391 GB, free: 68.16 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001251/14.13, allocations: 83.95 kB / 4.392 GB, free: 68.13 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.003483/14.13, allocations: 2.64 MB / 4.394 GB, free: 67.48 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001511/14.13, allocations: 0.8004 MB / 4.395 GB, free: 66.97 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005514/14.13, allocations: 64.34 kB / 4.395 GB, free: 66.97 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0002004/14.13, allocations: 416.9 kB / 4.395 GB, free: 66.66 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003894/14.14, allocations: 1.483 MB / 4.397 GB, free: 66.65 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004559/14.14, allocations: 2.419 MB / 4.399 GB, free: 65.65 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004168/14.15, allocations: 1.735 MB / 4.401 GB, free: 65.55 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/14.15, allocations: 6.469 kB / 4.401 GB, free: 65.55 MB / 1.26 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01082/14.16, allocations: 4.474 MB / 4.405 GB, free: 65.04 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.00234/14.16, allocations: 9.026 MB / 4.414 GB, free: 55.85 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/14.16, allocations: 14.75 kB / 4.414 GB, free: 55.85 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/14.16, allocations: 37.25 kB / 4.414 GB, free: 55.85 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005008/14.16, allocations: 0.9789 MB / 4.415 GB, free: 55.82 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/14.17, allocations: 5.411 MB / 4.42 GB, free: 50.55 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007977/14.17, allocations: 0.5133 MB / 4.421 GB, free: 50.48 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009391/14.18, allocations: 159.8 kB / 4.421 GB, free: 50.48 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/14.18, allocations: 12.14 kB / 4.421 GB, free: 50.48 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01113/14.19, allocations: 3.932 MB / 4.425 GB, free: 50.29 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.692e-05/14.19, allocations: 23.98 kB / 4.425 GB, free: 50.29 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.108e-05/14.19, allocations: 35.53 kB / 4.425 GB, free: 50.29 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/14.19, allocations: 0.9091 MB / 4.426 GB, free: 50.27 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.451e-05/14.19, allocations: 38.52 kB / 4.426 GB, free: 50.27 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007268/14.2, allocations: 0.5121 MB / 4.426 GB, free: 50.21 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007515/14.2, allocations: 157.2 kB / 4.426 GB, free: 50.21 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 () * 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.004794/14.2, allocations: 1.203 MB / 4.428 GB, free: 49.98 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002622/14.21, allocations: 0.5728 MB / 4.428 GB, free: 49.67 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/14.22, allocations: 4.389 MB / 4.432 GB, free: 49.3 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.804e-05/14.22, allocations: 33.62 kB / 4.432 GB, free: 49.3 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/14.22, allocations: 0 / 4.432 GB, free: 49.3 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007235/14.23, allocations: 3.366 MB / 4.436 GB, free: 48.96 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02678/14.25, allocations: 9.229 MB / 4.445 GB, free: 48.23 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/14.25, allocations: 0 / 4.445 GB, free: 48.23 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0035/14.26, allocations: 0.7136 MB / 4.445 GB, free: 48.2 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.804e-05/14.26, allocations: 11.56 kB / 4.446 GB, free: 48.2 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004141/14.26, allocations: 86.84 kB / 4.446 GB, free: 48.2 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/14.26, allocations: 5.352 MB / 4.451 GB, free: 42.93 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/14.26, allocations: 2.875 kB / 4.451 GB, free: 42.93 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/14.27, allocations: 6.404 MB / 4.457 GB, free: 41.74 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005076/14.28, allocations: 1.206 MB / 4.458 GB, free: 41.33 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002582/14.28, allocations: 58 kB / 4.458 GB, free: 41.33 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007776/14.29, allocations: 479.9 kB / 4.459 GB, free: 41.28 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006082/14.29, allocations: 183.1 kB / 4.459 GB, free: 41.27 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007328/14.29, allocations: 124.4 kB / 4.459 GB, free: 41.27 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.01264/14.3, allocations: 3.507 MB / 4.462 GB, free: 41.05 MB / 1.26 GB Notification: Performance of sort global known variables: time 4.51e-07/14.3, allocations: 0 / 4.462 GB, free: 41.05 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.0163/14.32, allocations: 2.757 MB / 4.465 GB, free: 40.76 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) * 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.006527/14.33, allocations: 2.607 MB / 4.468 GB, free: 39.56 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.01791/14.34, allocations: 5.978 MB / 4.474 GB, free: 39.25 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.585e-05/14.34, allocations: 448 / 4.474 GB, free: 39.24 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.005474/14.35, allocations: 1.956 MB / 4.475 GB, free: 39.07 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02028/14.37, allocations: 2.858 MB / 4.478 GB, free: 38.93 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03621/14.41, allocations: 11.92 MB / 4.49 GB, free: 33.55 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007499/14.41, allocations: 2.933 MB / 4.493 GB, free: 32.69 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.01145/14.43, allocations: 1.271 MB / 4.494 GB, free: 32.48 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002554/14.43, allocations: 454.2 kB / 4.494 GB, free: 32.47 MB / 1.26 GB Notification: Performance of SimCode: time 1.122e-06/14.43, allocations: 0 / 4.494 GB, free: 32.47 MB / 1.26 GB Notification: Performance of Templates: time 0.2123/14.64, allocations: 120.1 MB / 4.612 GB, free: 14.47 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