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.211/2.211, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001247/0.001247, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.657/1.657, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.001103/0.001103, allocations: 87.95 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.896e-05/4.948e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3699, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.531/1.901, allocations: 451.3 MB / 1.66 GB, free: 15.07 MB / 1.12 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/1.901, allocations: 103.9 kB / 1.66 GB, free: 14.97 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 11.55/13.45, allocations: 2.657 GB / 4.317 GB, free: 66.48 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.445e-06/13.45, allocations: 0 / 4.317 GB, free: 66.48 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.001355/13.45, allocations: 162.1 kB / 4.317 GB, free: 66.44 MB / 1.245 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.02056/13.47, allocations: 5.73 MB / 4.323 GB, free: 62.34 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/13.47, allocations: 12.03 kB / 4.323 GB, free: 62.32 MB / 1.245 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002277/13.47, allocations: 0.4945 MB / 4.323 GB, free: 61.82 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007729/13.48, allocations: 1.346 MB / 4.324 GB, free: 60.46 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02394/13.51, allocations: 6.424 MB / 4.331 GB, free: 54 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002319/13.51, allocations: 0.6878 MB / 4.331 GB, free: 53.31 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002655/13.51, allocations: 404 kB / 4.332 GB, free: 52.91 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/13.53, allocations: 4.388 MB / 4.336 GB, free: 48.39 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001965/13.53, allocations: 3.938 kB / 4.336 GB, free: 48.38 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00132/13.53, allocations: 164 kB / 4.336 GB, free: 48.22 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/13.53, allocations: 135.1 kB / 4.336 GB, free: 48.09 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008717/13.54, allocations: 3.659 MB / 4.34 GB, free: 44.43 MB / 1.245 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.04565/13.58, allocations: 22.34 MB / 4.362 GB, free: 20.89 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004013/13.59, allocations: 2.254 MB / 4.364 GB, free: 18.56 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/13.59, allocations: 1.241 MB / 4.365 GB, free: 17.33 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001643/13.59, allocations: 1.912 MB / 4.367 GB, free: 15.01 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003037/13.59, allocations: 1.459 MB / 4.368 GB, free: 13.53 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004399/13.6, allocations: 492.8 kB / 4.369 GB, free: 13.05 MB / 1.245 GB Notification: Performance of pre-optimization done (n=236): time 1.502e-05/13.6, allocations: 0 / 4.369 GB, free: 13.05 MB / 1.245 GB Notification: Performance of matching and sorting (n=236): time 0.006876/13.6, allocations: 2.855 MB / 4.372 GB, free: 10.17 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/13.6, allocations: 261.3 kB / 4.372 GB, free: 9.863 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/13.61, allocations: 4.51 MB / 4.376 GB, free: 5.363 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.001082/13.62, allocations: 85.7 kB / 4.376 GB, free: 5.273 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.002476/13.62, allocations: 2.639 MB / 4.379 GB, free: 2.621 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009937/13.62, allocations: 0.7969 MB / 4.38 GB, free: 1.812 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/13.62, allocations: 64 kB / 4.38 GB, free: 1.75 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0001422/13.62, allocations: 416.2 kB / 4.38 GB, free: 1.336 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/13.62, allocations: 1.135 MB / 4.381 GB, free: 204 kB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002957/13.62, allocations: 2.057 MB / 4.383 GB, free: 13.76 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/13.63, allocations: 1.391 MB / 4.385 GB, free: 12.34 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/13.63, allocations: 11.89 kB / 4.385 GB, free: 12.33 MB / 1.26 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.008623/13.64, allocations: 3.767 MB / 4.388 GB, free: 8.512 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.004397/13.64, allocations: 9.035 MB / 4.397 GB, free: 15.11 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.959e-05/13.64, allocations: 20 kB / 4.397 GB, free: 15.09 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-05/13.64, allocations: 36 kB / 4.397 GB, free: 15.05 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005391/13.65, allocations: 0.975 MB / 4.398 GB, free: 14.08 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/13.65, allocations: 5.407 MB / 4.404 GB, free: 8.465 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007117/13.66, allocations: 0.515 MB / 4.404 GB, free: 7.949 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007028/13.66, allocations: 159.9 kB / 4.404 GB, free: 7.793 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/13.66, allocations: 4 kB / 4.404 GB, free: 7.789 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007568/13.66, allocations: 3.24 MB / 4.407 GB, free: 4.508 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-05/13.67, allocations: 16 kB / 4.407 GB, free: 4.492 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.842e-05/13.67, allocations: 36 kB / 4.407 GB, free: 4.457 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/13.67, allocations: 0.9057 MB / 4.408 GB, free: 3.551 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.796e-05/13.67, allocations: 47.86 kB / 4.408 GB, free: 3.504 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006385/13.68, allocations: 0.5069 MB / 4.409 GB, free: 2.996 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005208/13.68, allocations: 155.9 kB / 4.409 GB, free: 2.844 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 () * 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.001205/13.68, allocations: 328.4 kB / 4.409 GB, free: 2.512 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002256/13.68, allocations: 0.5671 MB / 4.41 GB, free: 1.938 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.009/14.69, allocations: 3.679 MB / 4.413 GB, free: 110.6 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.808e-05/14.69, allocations: 34.47 kB / 4.413 GB, free: 110.6 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/14.69, allocations: 0 / 4.413 GB, free: 110.6 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005342/14.69, allocations: 2.674 MB / 4.416 GB, free: 110.3 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02405/14.72, allocations: 8.514 MB / 4.424 GB, free: 109.7 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/14.72, allocations: 0.5156 kB / 4.424 GB, free: 109.7 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0034/14.72, allocations: 0.714 MB / 4.425 GB, free: 109.7 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.408e-05/14.72, allocations: 10.91 kB / 4.425 GB, free: 109.7 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002494/14.72, allocations: 81.17 kB / 4.425 GB, free: 109.7 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/14.72, allocations: 5.355 MB / 4.43 GB, free: 104.5 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/14.72, allocations: 0.8438 kB / 4.43 GB, free: 104.5 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/14.73, allocations: 5.36 MB / 4.436 GB, free: 103.7 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005246/14.74, allocations: 1.212 MB / 4.437 GB, free: 103.5 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002119/14.74, allocations: 57.62 kB / 4.437 GB, free: 103.5 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004909/14.75, allocations: 480.8 kB / 4.437 GB, free: 103.5 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003432/14.75, allocations: 173.7 kB / 4.438 GB, free: 103.5 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003267/14.75, allocations: 123.9 kB / 4.438 GB, free: 103.5 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.007836/14.76, allocations: 3.438 MB / 4.441 GB, free: 103.2 MB / 1.276 GB Notification: Performance of sort global known variables: time 2.5e-07/14.76, allocations: 2.344 kB / 4.441 GB, free: 103.2 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01521/14.77, allocations: 2.748 MB / 4.444 GB, free: 103.1 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) * 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.01782/14.79, allocations: 8.733 MB / 4.452 GB, free: 100.5 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.01301/14.8, allocations: 5.14 MB / 4.457 GB, free: 100.3 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/14.8, allocations: 2.219 kB / 4.457 GB, free: 100.3 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.003792/14.81, allocations: 1.59 MB / 4.459 GB, free: 100.2 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01994/14.83, allocations: 2.869 MB / 4.462 GB, free: 100.2 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03275/14.86, allocations: 8.942 MB / 4.47 GB, free: 98.08 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005355/14.86, allocations: 2.947 MB / 4.473 GB, free: 97.27 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01411/14.88, allocations: 1.591 MB / 4.475 GB, free: 97.22 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005496/14.88, allocations: 2.451 MB / 4.477 GB, free: 97.22 MB / 1.276 GB Notification: Performance of SimCode: time 1.372e-06/14.88, allocations: 0.5625 kB / 4.477 GB, free: 97.22 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2933/15.18, allocations: 182 MB / 4.655 GB, free: 87.79 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/15.18, allocations: 279.3 kB / 4.655 GB, free: 87.46 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/26.93, allocations: 0 / 4.655 GB, free: 87.46 MB / 1.276 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