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.451/2.451, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001242/0.001242, allocations: 180.9 kB / 496.1 MB, free: 12.89 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.614/1.614, 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.0009146/0.0009146, allocations: 99.94 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.245e-05/4.246e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3616, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.569/1.931, allocations: 472.6 MB / 1.68 GB, free: 9.59 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/1.931, allocations: 108.8 kB / 1.681 GB, free: 9.484 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 5.545/7.476, allocations: 1.283 GB / 2.963 GB, free: 33.49 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.814e-06/7.476, allocations: 0 / 2.963 GB, free: 33.49 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003572/7.477, allocations: 75.86 kB / 2.964 GB, free: 33.42 MB / 1.167 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.007205/7.484, allocations: 2.796 MB / 2.966 GB, free: 30.56 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.39e-05/7.484, allocations: 8.031 kB / 2.966 GB, free: 30.55 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004396/7.484, allocations: 223.7 kB / 2.966 GB, free: 30.32 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/7.487, allocations: 0.5155 MB / 2.967 GB, free: 29.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007361/7.494, allocations: 3.185 MB / 2.97 GB, free: 26.55 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006701/7.495, allocations: 263.4 kB / 2.97 GB, free: 26.29 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/7.495, allocations: 175.9 kB / 2.971 GB, free: 26.11 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003659/7.499, allocations: 1.849 MB / 2.972 GB, free: 24.19 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/7.499, allocations: 7.938 kB / 2.972 GB, free: 24.18 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/7.499, allocations: 60 kB / 2.972 GB, free: 24.12 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-05/7.499, allocations: 40 kB / 2.972 GB, free: 24.09 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/7.502, allocations: 1.569 MB / 2.974 GB, free: 22.51 MB / 1.167 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.01489/7.517, allocations: 10.85 MB / 2.985 GB, free: 10.89 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/7.518, allocations: 1.281 MB / 2.986 GB, free: 9.52 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007683/7.519, allocations: 0.5827 MB / 2.986 GB, free: 8.926 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009904/7.52, allocations: 1.235 MB / 2.988 GB, free: 7.434 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000927/7.521, allocations: 0.659 MB / 2.988 GB, free: 6.754 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001563/7.522, allocations: 170.7 kB / 2.988 GB, free: 6.586 MB / 1.167 GB Notification: Performance of pre-optimization done (n=98): time 4.829e-06/7.522, allocations: 8 kB / 2.988 GB, free: 6.578 MB / 1.167 GB Notification: Performance of matching and sorting (n=98): time 0.002177/7.525, allocations: 1.331 MB / 2.99 GB, free: 5.23 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/7.525, allocations: 149.2 kB / 2.99 GB, free: 5.055 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/7.528, allocations: 2.137 MB / 2.992 GB, free: 2.902 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/7.528, allocations: 49.7 kB / 2.992 GB, free: 2.848 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009639/7.529, allocations: 1.14 MB / 2.993 GB, free: 1.695 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/7.529, allocations: 339.1 kB / 2.993 GB, free: 1.359 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/7.529, allocations: 28 kB / 2.993 GB, free: 1.332 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001046/7.529, allocations: 353.9 kB / 2.994 GB, free: 0.9805 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008431/7.53, allocations: 0.5649 MB / 2.994 GB, free: 424 kB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/7.531, allocations: 0.9392 MB / 2.995 GB, free: 15.32 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/7.532, allocations: 0.6997 MB / 2.996 GB, free: 14.62 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/7.532, allocations: 4 kB / 2.996 GB, free: 14.62 MB / 1.182 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003461/7.536, allocations: 1.84 MB / 2.998 GB, free: 12.77 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001232/7.537, allocations: 2.877 MB / 3.001 GB, free: 9.656 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/7.537, allocations: 12 kB / 3.001 GB, free: 9.645 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/7.537, allocations: 52.78 kB / 3.001 GB, free: 9.59 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/7.539, allocations: 331.5 kB / 3.001 GB, free: 9.266 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004691/7.539, allocations: 0.5991 MB / 3.002 GB, free: 8.641 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/7.542, allocations: 251.5 kB / 3.002 GB, free: 8.395 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/7.542, allocations: 75.91 kB / 3.002 GB, free: 8.32 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/7.542, allocations: 7.938 kB / 3.002 GB, free: 8.312 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002928/7.545, allocations: 1.608 MB / 3.003 GB, free: 6.695 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/7.545, allocations: 4.094 kB / 3.003 GB, free: 6.691 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/7.546, allocations: 64.86 kB / 3.003 GB, free: 6.625 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/7.547, allocations: 335.5 kB / 3.004 GB, free: 6.297 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/7.548, allocations: 1.577 MB / 3.005 GB, free: 4.582 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/7.551, allocations: 231.6 kB / 3.006 GB, free: 4.355 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/7.551, allocations: 67.97 kB / 3.006 GB, free: 4.289 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 152 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004796/7.552, allocations: 223.6 kB / 3.006 GB, free: 4.059 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004702/7.552, allocations: 248.8 kB / 3.006 GB, free: 3.812 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/7.556, allocations: 1.71 MB / 3.008 GB, free: 2.094 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/7.556, allocations: 19.98 kB / 3.008 GB, free: 2.074 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/7.556, allocations: 3.938 kB / 3.008 GB, free: 2.07 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002069/7.558, allocations: 1.421 MB / 3.009 GB, free: 0.5898 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007837/7.566, allocations: 4.329 MB / 3.013 GB, free: 12.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/7.566, allocations: 4 kB / 3.013 GB, free: 12.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/7.567, allocations: 227.9 kB / 3.014 GB, free: 11.88 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/7.567, allocations: 44.91 kB / 3.014 GB, free: 11.83 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.919e-05/7.567, allocations: 31.98 kB / 3.014 GB, free: 11.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003653/7.568, allocations: 0.5641 MB / 3.014 GB, free: 11.21 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/7.568, allocations: 3.938 kB / 3.014 GB, free: 11.2 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004041/7.572, allocations: 2.645 MB / 3.017 GB, free: 8.402 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/7.573, allocations: 0.5835 MB / 3.017 GB, free: 7.797 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/7.574, allocations: 28 kB / 3.017 GB, free: 7.77 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/7.575, allocations: 195.6 kB / 3.018 GB, free: 7.578 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/7.576, allocations: 80.8 kB / 3.018 GB, free: 7.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/7.576, allocations: 51.95 kB / 3.018 GB, free: 7.449 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.003064/7.579, allocations: 1.67 MB / 3.019 GB, free: 5.773 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.91e-07/7.579, allocations: 4 kB / 3.019 GB, free: 5.77 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004781/7.584, allocations: 1.259 MB / 3.021 GB, free: 4.508 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 7 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.864/8.448, allocations: 4.742 MB / 3.025 GB, free: 177.9 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.006338/8.454, allocations: 2.522 MB / 3.028 GB, free: 177.7 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/8.454, allocations: 0.5312 kB / 3.028 GB, free: 177.7 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/8.456, allocations: 0.7158 MB / 3.028 GB, free: 177.6 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007977/8.464, allocations: 1.248 MB / 3.03 GB, free: 177.6 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/8.477, allocations: 4.131 MB / 3.034 GB, free: 176.6 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/8.479, allocations: 1.766 MB / 3.035 GB, free: 175.8 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.00503/8.484, allocations: 0.8072 MB / 3.036 GB, free: 175.8 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/8.486, allocations: 0.997 MB / 3.037 GB, free: 175.8 MB / 1.198 GB Notification: Performance of SimCode: time 2.254e-06/8.486, allocations: 0 / 3.037 GB, free: 175.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1915/8.677, allocations: 84.98 MB / 3.12 GB, free: 173.2 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/8.677, allocations: 265.7 kB / 3.12 GB, free: 172.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.545/14.22, allocations: 3.234 kB / 3.12 GB, free: 172.8 MB / 1.198 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