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.49/2.49, allocations: 390.5 MB / 398 MB, free: 10.93 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.001332/0.001332, allocations: 179.9 kB / 491.2 MB, free: 1.613 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.659/1.659, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.00114/0.00114, allocations: 107.4 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.502e-05/2.506e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3801, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.5/1.88, allocations: 450.6 MB / 1.653 GB, free: 12.41 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/1.88, allocations: 103.2 kB / 1.653 GB, free: 12.35 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 11.4/13.28, allocations: 2.645 GB / 4.297 GB, free: 89.78 MB / 1.26 GB Notification: Performance of FrontEnd: time 5.3e-06/13.28, allocations: 3.094 kB / 4.297 GB, free: 89.78 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001908/13.28, allocations: 167.6 kB / 4.297 GB, free: 89.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.02293/13.31, allocations: 5.725 MB / 4.303 GB, free: 87.08 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/13.31, allocations: 10.75 kB / 4.303 GB, free: 87.08 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008444/13.32, allocations: 1.35 MB / 4.304 GB, free: 86.71 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02249/13.34, allocations: 6.418 MB / 4.311 GB, free: 85.75 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002159/13.34, allocations: 0.5413 MB / 4.311 GB, free: 85.74 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002519/13.34, allocations: 253.5 kB / 4.311 GB, free: 85.73 MB / 1.26 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01233/13.36, allocations: 3.457 MB / 4.315 GB, free: 85.71 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01571/13.37, allocations: 3.828 MB / 4.318 GB, free: 85.23 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002521/13.37, allocations: 8.031 kB / 4.318 GB, free: 85.23 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001521/13.37, allocations: 3.938 kB / 4.318 GB, free: 85.23 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/13.37, allocations: 140.7 kB / 4.319 GB, free: 85.22 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.05054/13.42, allocations: 21.53 MB / 4.34 GB, free: 76.27 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/13.43, allocations: 2.216 MB / 4.342 GB, free: 75.93 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002448/13.43, allocations: 1.181 MB / 4.343 GB, free: 75.92 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/13.43, allocations: 1.914 MB / 4.345 GB, free: 73.85 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003569/13.44, allocations: 1.387 MB / 4.346 GB, free: 73.74 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004798/13.44, allocations: 366.5 kB / 4.347 GB, free: 73.62 MB / 1.26 GB Notification: Performance of pre-optimization done (n=236): time 1.435e-05/13.44, allocations: 0 / 4.347 GB, free: 73.62 MB / 1.26 GB Notification: Performance of matching and sorting (n=236): time 0.01006/13.45, allocations: 2.928 MB / 4.349 GB, free: 73.27 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/13.45, allocations: 265.1 kB / 4.35 GB, free: 72.98 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/13.46, allocations: 3.698 MB / 4.353 GB, free: 72.66 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/13.46, allocations: 32.55 kB / 4.353 GB, free: 72.63 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.003783/13.47, allocations: 2.643 MB / 4.356 GB, free: 71.83 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001629/13.47, allocations: 0.7699 MB / 4.357 GB, free: 71.31 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008171/13.47, allocations: 3.188 kB / 4.357 GB, free: 71.31 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0003782/13.47, allocations: 420.1 kB / 4.357 GB, free: 71 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002833/13.47, allocations: 1.093 MB / 4.358 GB, free: 71 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003258/13.48, allocations: 1.992 MB / 4.36 GB, free: 69.98 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004887/13.48, allocations: 1.573 MB / 4.362 GB, free: 69.87 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.612e-05/13.48, allocations: 8.875 kB / 4.362 GB, free: 69.87 MB / 1.26 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01008/13.49, allocations: 3.705 MB / 4.365 GB, free: 69.39 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.001747/13.49, allocations: 8.741 MB / 4.374 GB, free: 60.2 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/13.49, allocations: 19 kB / 4.374 GB, free: 60.2 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.07e-05/13.49, allocations: 38.47 kB / 4.374 GB, free: 60.19 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005611/13.5, allocations: 0.9918 MB / 4.375 GB, free: 60.13 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/13.5, allocations: 5.474 MB / 4.38 GB, free: 54.84 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007189/13.51, allocations: 428.8 kB / 4.381 GB, free: 54.78 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/13.51, allocations: 165.8 kB / 4.381 GB, free: 54.78 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/13.51, allocations: 3.156 kB / 4.381 GB, free: 54.78 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01068/13.52, allocations: 3.122 MB / 4.384 GB, free: 54.58 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.997e-05/13.52, allocations: 20.5 kB / 4.384 GB, free: 54.58 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.369e-05/13.52, allocations: 34.47 kB / 4.384 GB, free: 54.58 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004657/13.53, allocations: 0.9078 MB / 4.385 GB, free: 54.52 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.23e-05/13.53, allocations: 46.5 kB / 4.385 GB, free: 54.51 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006811/13.53, allocations: 425.5 kB / 4.385 GB, free: 54.46 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/13.53, allocations: 153.1 kB / 4.385 GB, free: 54.46 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.001939/13.54, allocations: 225.7 kB / 4.385 GB, free: 54.27 MB / 1.26 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009494/13.54, allocations: 2.883 MB / 4.388 GB, free: 53.91 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002373/13.55, allocations: 0.518 MB / 4.389 GB, free: 53.63 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/13.56, allocations: 3.62 MB / 4.392 GB, free: 53.35 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.354e-05/13.56, allocations: 31.5 kB / 4.392 GB, free: 53.35 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.285e-05/13.56, allocations: 3.703 kB / 4.392 GB, free: 53.35 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007722/13.57, allocations: 2.712 MB / 4.395 GB, free: 53.1 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/13.59, allocations: 8.067 MB / 4.403 GB, free: 52.21 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/13.59, allocations: 3.938 kB / 4.403 GB, free: 52.21 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003273/13.59, allocations: 0.7107 MB / 4.404 GB, free: 52.14 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.764e-05/13.59, allocations: 14 kB / 4.404 GB, free: 52.14 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/13.59, allocations: 55.44 kB / 4.404 GB, free: 52.12 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/13.59, allocations: 5.365 MB / 4.409 GB, free: 46.75 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/13.59, allocations: 3.5 kB / 4.409 GB, free: 46.75 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009732/13.6, allocations: 5.244 MB / 4.414 GB, free: 44.07 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003483/13.61, allocations: 1.14 MB / 4.415 GB, free: 43.33 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/13.61, allocations: 19.05 kB / 4.415 GB, free: 43.32 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004085/13.61, allocations: 439.5 kB / 4.416 GB, free: 43.27 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/13.61, allocations: 174.5 kB / 4.416 GB, free: 43.24 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002712/13.61, allocations: 124.8 kB / 4.416 GB, free: 43.22 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.005215/13.62, allocations: 2.739 MB / 4.419 GB, free: 42.07 MB / 1.26 GB Notification: Performance of sort global known variables: time 2.6e-07/13.62, allocations: 0 / 4.419 GB, free: 42.07 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.01146/13.63, allocations: 2.726 MB / 4.421 GB, free: 41.5 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.01315/13.64, allocations: 8.66 MB / 4.43 GB, free: 36.79 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.009404/13.65, allocations: 4.895 MB / 4.434 GB, free: 34.73 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/13.65, allocations: 4.688 kB / 4.434 GB, free: 34.73 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.002485/13.65, allocations: 1.54 MB / 4.436 GB, free: 34.07 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01371/13.67, allocations: 2.283 MB / 4.438 GB, free: 33.61 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02348/13.69, allocations: 8.585 MB / 4.447 GB, free: 30.13 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002185/13.69, allocations: 2.944 MB / 4.449 GB, free: 29.2 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.009157/13.7, allocations: 1.46 MB / 4.451 GB, free: 28.95 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003769/13.71, allocations: 2.437 MB / 4.453 GB, free: 26.98 MB / 1.26 GB Notification: Performance of SimCode: time 1.082e-06/13.71, allocations: 0 / 4.453 GB, free: 26.98 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.267/14.97, allocations: 150.2 MB / 4.6 GB, free: 106.1 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/14.97, allocations: 235 kB / 4.6 GB, free: 105.9 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/25.2, allocations: 1.547 kB / 4.6 GB, free: 105.9 MB / 1.292 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