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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.336/2.336, allocations: 393.5 MB / 408.4 MB, free: 11 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.001177/0.001177, allocations: 179.3 kB / 0.4901 GB, free: 2.273 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.673/1.673, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001199/0.001198, allocations: 91.02 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004331, allocations: 12.75 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4271, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.335/1.763, allocations: 451.4 MB / 1.67 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004181/1.763, allocations: 110 kB / 1.67 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 11.14/12.9, allocations: 2.665 GB / 4.335 GB, free: 94.5 MB / 1.276 GB Notification: Performance of FrontEnd: time 4.228e-06/12.9, allocations: 0 / 4.335 GB, free: 94.5 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.002088/12.9, allocations: 161.4 kB / 4.335 GB, free: 94.48 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.03176/12.94, allocations: 6.939 MB / 4.342 GB, free: 91.52 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/12.94, allocations: 8.656 kB / 4.342 GB, free: 91.52 MB / 1.276 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003308/12.94, allocations: 0.4961 MB / 4.343 GB, free: 91.46 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008533/12.95, allocations: 1.351 MB / 4.344 GB, free: 91.09 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02354/12.97, allocations: 6.479 MB / 4.35 GB, free: 90.13 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002325/12.97, allocations: 0.6925 MB / 4.351 GB, free: 90.12 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002352/12.98, allocations: 410.2 kB / 4.351 GB, free: 90.12 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01778/12.99, allocations: 4.775 MB / 4.356 GB, free: 89.64 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002695/12.99, allocations: 1.969 kB / 4.356 GB, free: 89.64 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001698/13, allocations: 162.4 kB / 4.356 GB, free: 89.64 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001745/13, allocations: 137.3 kB / 4.356 GB, free: 89.64 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/13.01, allocations: 4.387 MB / 4.361 GB, free: 89.61 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.05315/13.06, allocations: 22.35 MB / 4.382 GB, free: 80.68 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007603/13.07, allocations: 2.92 MB / 4.385 GB, free: 80.34 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001875/13.07, allocations: 1.918 MB / 4.387 GB, free: 78.27 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005548/13.08, allocations: 1.803 MB / 4.389 GB, free: 78.17 MB / 1.276 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005488/13.08, allocations: 496 kB / 4.389 GB, free: 78.02 MB / 1.276 GB Notification: Performance of pre-optimization done (n=236): time 1.889e-05/13.08, allocations: 5.031 kB / 4.389 GB, free: 78.02 MB / 1.276 GB Notification: Performance of matching and sorting (n=236): time 0.01631/13.1, allocations: 4.929 MB / 4.394 GB, free: 77.5 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/13.1, allocations: 267.6 kB / 4.394 GB, free: 77.21 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01476/13.11, allocations: 4.579 MB / 4.399 GB, free: 76.84 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.001289/13.12, allocations: 83.42 kB / 4.399 GB, free: 76.81 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.004756/13.12, allocations: 2.638 MB / 4.402 GB, free: 76.17 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.00171/13.12, allocations: 0.8002 MB / 4.402 GB, free: 75.65 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000933/13.12, allocations: 58.22 kB / 4.402 GB, free: 75.65 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0003623/13.12, allocations: 427.3 kB / 4.403 GB, free: 75.34 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004563/13.13, allocations: 1.481 MB / 4.404 GB, free: 75.34 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005267/13.13, allocations: 2.408 MB / 4.407 GB, free: 74.34 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005201/13.14, allocations: 1.741 MB / 4.408 GB, free: 74.26 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.942e-05/13.14, allocations: 8.094 kB / 4.408 GB, free: 74.26 MB / 1.276 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01541/13.15, allocations: 4.471 MB / 4.413 GB, free: 73.81 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.003184/13.16, allocations: 9.027 MB / 4.421 GB, free: 64.66 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.433e-05/13.16, allocations: 17.88 kB / 4.421 GB, free: 64.66 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001065/13.16, allocations: 36.53 kB / 4.422 GB, free: 64.66 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006079/13.16, allocations: 0.9783 MB / 4.422 GB, free: 64.64 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/13.17, allocations: 5.411 MB / 4.428 GB, free: 59.36 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00989/13.18, allocations: 0.5148 MB / 4.428 GB, free: 59.29 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/13.18, allocations: 162 kB / 4.428 GB, free: 59.29 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/13.18, allocations: 3.438 kB / 4.428 GB, free: 59.29 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01361/13.19, allocations: 3.939 MB / 4.432 GB, free: 59.1 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.453e-05/13.19, allocations: 18.06 kB / 4.432 GB, free: 59.1 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.406e-05/13.19, allocations: 37.47 kB / 4.432 GB, free: 59.1 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004598/13.2, allocations: 0.9047 MB / 4.433 GB, free: 59.08 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001083/13.2, allocations: 40.45 kB / 4.433 GB, free: 59.08 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008051/13.21, allocations: 0.5101 MB / 4.434 GB, free: 59.02 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009294/13.21, allocations: 155.8 kB / 4.434 GB, free: 59.02 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.005974/13.21, allocations: 1.211 MB / 4.435 GB, free: 58.79 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002868/13.22, allocations: 0.5689 MB / 4.436 GB, free: 58.48 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/13.23, allocations: 4.385 MB / 4.44 GB, free: 58.12 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.916e-05/13.23, allocations: 31.62 kB / 4.44 GB, free: 58.12 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/13.23, allocations: 4 kB / 4.44 GB, free: 58.12 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008063/13.24, allocations: 3.369 MB / 4.443 GB, free: 57.78 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0268/13.26, allocations: 9.211 MB / 4.452 GB, free: 57.05 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/13.26, allocations: 3.125 kB / 4.452 GB, free: 57.05 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003794/13.27, allocations: 0.7171 MB / 4.453 GB, free: 57.03 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.505e-05/13.27, allocations: 12.91 kB / 4.453 GB, free: 57.03 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005096/13.27, allocations: 81.52 kB / 4.453 GB, free: 57.03 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/13.27, allocations: 5.358 MB / 4.458 GB, free: 51.75 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/13.27, allocations: 3.938 kB / 4.458 GB, free: 51.75 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/13.29, allocations: 6.398 MB / 4.465 GB, free: 50.57 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005147/13.29, allocations: 1.208 MB / 4.466 GB, free: 50.15 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002129/13.29, allocations: 60.25 kB / 4.466 GB, free: 50.15 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00608/13.3, allocations: 474.9 kB / 4.466 GB, free: 50.1 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004695/13.3, allocations: 185.1 kB / 4.466 GB, free: 50.09 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005847/13.3, allocations: 120.7 kB / 4.466 GB, free: 50.09 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.0117/13.31, allocations: 3.508 MB / 4.47 GB, free: 49.88 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.282e-06/13.31, allocations: 0 / 4.47 GB, free: 49.88 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01804/13.33, allocations: 2.754 MB / 4.473 GB, free: 49.58 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.02507/13.36, allocations: 9.78 MB / 4.482 GB, free: 46.48 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.01673/13.37, allocations: 5.986 MB / 4.488 GB, free: 46.16 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/13.37, allocations: 4.25 kB / 4.488 GB, free: 46.16 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.004986/13.38, allocations: 1.936 MB / 4.49 GB, free: 46.05 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02068/13.4, allocations: 2.873 MB / 4.493 GB, free: 45.91 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0454/13.44, allocations: 28.02 MB / 4.52 GB, free: 24.78 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005269/13.45, allocations: 2.939 MB / 4.523 GB, free: 23.91 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01129/13.46, allocations: 1.268 MB / 4.524 GB, free: 23.7 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00806/13.47, allocations: 2.545 MB / 4.527 GB, free: 23.7 MB / 1.276 GB Notification: Performance of SimCode: time 1.843e-06/13.47, allocations: 0 / 4.527 GB, free: 23.7 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.308/14.78, allocations: 174.2 MB / 4.697 GB, free: 116.4 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/14.78, allocations: 318.5 kB / 4.697 GB, free: 116.1 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/24.95, allocations: 0 / 4.697 GB, free: 116.1 MB / 1.307 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController_res.mat does not exist to compare? outputFormat=mat