Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.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.WatersideEconomizer,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer",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.455/2.455, allocations: 393.5 MB / 408.4 MB, free: 11.06 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: 172 kB / 0.4901 GB, free: 2.246 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.1 MB / 0.7992 GB, free: 14.66 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.001031/0.001031, allocations: 106.3 kB / 0.9396 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 7.938 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3238, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.589, allocations: 472.7 MB / 1.691 GB, free: 6.379 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003829/1.59, allocations: 114.7 kB / 1.691 GB, free: 6.312 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.038/6.628, allocations: 1.287 GB / 2.978 GB, free: 156 MB / 1.182 GB Notification: Performance of FrontEnd: time 8.456e-06/6.628, allocations: 3.891 kB / 2.978 GB, free: 156 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.001026/6.629, allocations: 80.94 kB / 2.978 GB, free: 156 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.01453/6.644, allocations: 3.341 MB / 2.981 GB, free: 154.4 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.817e-05/6.644, allocations: 11.28 kB / 2.981 GB, free: 154.4 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001219/6.645, allocations: 219 kB / 2.981 GB, free: 154.4 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004073/6.649, allocations: 0.5278 MB / 2.982 GB, free: 154.2 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/6.662, allocations: 3.217 MB / 2.985 GB, free: 153.6 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000903/6.663, allocations: 263.5 kB / 2.985 GB, free: 153.6 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001307/6.664, allocations: 165 kB / 2.985 GB, free: 153.6 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006932/6.671, allocations: 1.995 MB / 2.987 GB, free: 153.4 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.92e-05/6.671, allocations: 8.859 kB / 2.987 GB, free: 153.4 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004156/6.672, allocations: 61.56 kB / 2.987 GB, free: 153.4 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.336e-05/6.672, allocations: 37.56 kB / 2.987 GB, free: 153.4 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/6.676, allocations: 1.819 MB / 2.989 GB, free: 153.4 MB / 1.182 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.02038/6.697, allocations: 10.86 MB / 3 GB, free: 148.5 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/6.7, allocations: 1.49 MB / 3.001 GB, free: 148.1 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/6.701, allocations: 1.235 MB / 3.002 GB, free: 146.8 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/6.702, allocations: 0.7558 MB / 3.003 GB, free: 146.7 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002286/6.705, allocations: 164.9 kB / 3.003 GB, free: 146.6 MB / 1.182 GB Notification: Performance of pre-optimization done (n=98): time 7.644e-06/6.705, allocations: 0 / 3.003 GB, free: 146.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=98): time 0.008678/6.713, allocations: 2.85 MB / 3.006 GB, free: 146.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/6.714, allocations: 144.3 kB / 3.006 GB, free: 146 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005306/6.719, allocations: 2.196 MB / 3.008 GB, free: 145.8 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0004826/6.719, allocations: 50.27 kB / 3.008 GB, free: 145.8 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001561/6.721, allocations: 1.149 MB / 3.01 GB, free: 145.5 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.00042/6.721, allocations: 332.5 kB / 3.01 GB, free: 145.2 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.812e-05/6.722, allocations: 25.94 kB / 3.01 GB, free: 145.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001621/6.722, allocations: 357.5 kB / 3.01 GB, free: 144.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/6.723, allocations: 0.6853 MB / 3.011 GB, free: 144.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/6.725, allocations: 1.077 MB / 3.012 GB, free: 144.5 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/6.727, allocations: 0.8118 MB / 3.013 GB, free: 144.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/6.727, allocations: 7.328 kB / 3.013 GB, free: 144.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.005581/6.732, allocations: 2.163 MB / 3.015 GB, free: 144.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009953/6.733, allocations: 2.868 MB / 3.018 GB, free: 141.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/6.733, allocations: 3.938 kB / 3.018 GB, free: 141.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/6.735, allocations: 318.5 kB / 3.018 GB, free: 141.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/6.736, allocations: 307.4 kB / 3.018 GB, free: 141.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/6.737, allocations: 0.9431 MB / 3.019 GB, free: 140.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003177/6.741, allocations: 253.8 kB / 3.019 GB, free: 140.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/6.741, allocations: 72.31 kB / 3.02 GB, free: 140.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/6.741, allocations: 3.188 kB / 3.02 GB, free: 140.7 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003656/6.744, allocations: 1.856 MB / 3.021 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/6.744, allocations: 7.531 kB / 3.021 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/6.745, allocations: 68.64 kB / 3.021 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/6.746, allocations: 338.9 kB / 3.022 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/6.747, allocations: 1.597 MB / 3.023 GB, free: 139.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002984/6.75, allocations: 234 kB / 3.024 GB, free: 139.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/6.751, allocations: 66.58 kB / 3.024 GB, free: 139.3 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,WSE.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.002122/6.753, allocations: 0.7323 MB / 3.024 GB, free: 139.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006787/6.753, allocations: 249.1 kB / 3.025 GB, free: 138.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004244/6.758, allocations: 2.078 MB / 3.027 GB, free: 138.8 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/6.758, allocations: 17.36 kB / 3.027 GB, free: 138.8 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/6.758, allocations: 2.281 kB / 3.027 GB, free: 138.8 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002955/6.761, allocations: 1.774 MB / 3.028 GB, free: 138.4 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008527/6.769, allocations: 4.612 MB / 3.033 GB, free: 137.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/6.769, allocations: 1.5 kB / 3.033 GB, free: 137.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008813/6.77, allocations: 188.8 kB / 3.033 GB, free: 137.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/6.771, allocations: 301.2 kB / 3.033 GB, free: 137.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/6.771, allocations: 37.66 kB / 3.033 GB, free: 137.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/6.772, allocations: 0.9444 MB / 3.034 GB, free: 136.4 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/6.772, allocations: 6.906 kB / 3.034 GB, free: 136.4 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005368/6.778, allocations: 3.001 MB / 3.037 GB, free: 135 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00192/6.78, allocations: 0.5867 MB / 3.038 GB, free: 134.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004938/6.78, allocations: 21.69 kB / 3.038 GB, free: 134.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/6.782, allocations: 195.5 kB / 3.038 GB, free: 134.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/6.782, allocations: 67.3 kB / 3.038 GB, free: 134.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/6.783, allocations: 57.92 kB / 3.038 GB, free: 134.5 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004096/6.787, allocations: 1.697 MB / 3.04 GB, free: 133.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.8e-07/6.787, allocations: 0 / 3.04 GB, free: 133.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.00554/6.792, allocations: 1.263 MB / 3.041 GB, free: 133.6 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (WSE.heaExc.thrWayVal.vol.dynBal.U,WSE.heaExc.con.I.y,TSup.T) * Number of discrete variables: 7 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * 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 (93): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.008125/6.8, allocations: 4.926 MB / 3.046 GB, free: 131 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006042/6.806, allocations: 2.788 MB / 3.049 GB, free: 129.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/6.806, allocations: 4.125 kB / 3.049 GB, free: 129.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/6.808, allocations: 0.8104 MB / 3.049 GB, free: 129.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007255/6.815, allocations: 1.205 MB / 3.05 GB, free: 129.4 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/6.832, allocations: 11.62 MB / 3.062 GB, free: 120.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/6.833, allocations: 1.751 MB / 3.064 GB, free: 119.5 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.00331/6.837, allocations: 0.5845 MB / 3.064 GB, free: 119.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/6.838, allocations: 1.025 MB / 3.065 GB, free: 118.7 MB / 1.182 GB Notification: Performance of SimCode: time 1.462e-06/6.838, allocations: 0 / 3.065 GB, free: 118.7 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1444/6.983, allocations: 79.46 MB / 3.143 GB, free: 57.59 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/6.983, allocations: 303.8 kB / 3.143 GB, free: 57.23 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.415/12.4, allocations: 5.344 kB / 3.143 GB, free: 57.23 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer_res.mat does not exist to compare? outputFormat=mat